DASH playback on Samsung S7 blinks black on resolution changes
Submitted by Hollow
Created attachment 358930
Samsung S7 DASH bug log
While running Android tutorial 4 (https://gstreamer.freedesktop.org/documentation/tutorials/android/media-player.html) with a DASH stream (http://dash.edgesuite.net/akamai/bbb_30fps/bbb_30fps.mpd) I notice problems on Samsung S7. The video blinks black each time resolution changes to any value other than 3840x2160. My suspicion is that there are black frames output from the amcviddec-omxexynosavcdec. The video of the phenomenon is available here: https://drive.google.com/file/d/0B5aV1T3Bz6qiVDVvcWtJbnhObDA/view?usp=sharing . It shows two resolution changes. A frame-by-frame analysis reveals that the black frames appear not directly after the resolution is changed, but after at least a single frame in the new resolution is shown.
The example itself is not meant to allow resolution changes while playing, but I patched it so the check_media_size() is called each time there are new caps on the "video-sink" of the pipeline. However, visually, it did not change the behaviour of the program.
Attached there is a log file from the device (I made logging more verbose). The log encompasses 3 resolution changes, to 1024x576, to 1280x720 and to 1920x1080.
Attachment 358930, "Samsung S7 DASH bug log":