GNOME Bugzilla – Bug 657773
Refine the idle material state in EOS
Last modified: 2011-09-05 00:22:56 UTC
It has been pointed out that when playbin2 fires EOS and someone sets the state of the pipeline back to playing, we still put the VideoTexture in idle mode which can produce one or more frames with the idle material (back by default). We could refine the EOS handler with something like 1/ receive EOS 2/ fire the EOS signal on VideoTexture 3/ check the (pending) state of the pipeline after the user callback has been executed 4/ if the pipeline has been set back to playing or pause, don't touch the idle state. Put the VideoTexture in idle mode otherwise.
Fix pushed in master. commit 2b1af061eabe3f76877c8a083430b4d7892bfd8f Author: Damien Lespiau <damien.lespiau@intel.com> Date: Thu Sep 1 00:29:09 2011 +0100 media: Refine the idle state management in the EOS callback So we don't show a black frame when looping the video. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=657773