[dragon] Simplified transition between different views

Review Request #129695 - Created Dec. 23, 2016 and submitted

Information
Anthony Fieroni
dragon
Reviewers
kdemultimedia
sitter

Patch was rejected from reviewboard, see attached file and link to pastebin for pretty format https://paste.kde.org/pm1yzkjdl

Fixed one frame blinking audioview before video starts, it's because information (hasVideo) is not resolved immediately after a media object gets a new source.
Tested scenarios:

Play video file -> videoview -> wait to auto end -> loadview
Play video file -> videoview -> press stop -> loadview
Play video file -> videoview -> press Play media (preview) -> wait to end -> loadview
Play video file -> videoview -> press Play media (preview) -> press stop -> loadview

Play audio file -> audioview -> wait to auto end -> loadview
Play audio file -> audioview -> press stop -> loadview
Play audio file -> audioview -> press Play media -> wait to end -> loadview
Play audio file -> audioview -> press Play media -> press stop -> loadview

Files


Harald Sitter
Anthony Fieroni
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit b8a1d709d17c90dabc352af4aa4af395ee5d4938 by Anthony Fieroni to branch Applications/16.12.
Loading...