[gst-devel] avoiding showing the first frame of the video when in paused state

Tim-Philipp Müller t.i.m at zen.co.uk
Wed Jan 27 11:13:01 CET 2010


On Wed, 2010-01-27 at 12:34 +0530, Jyoti wrote:

Hi,

> During video playback of some files I see the first frame of the video
> before actually setting the pipeline to playing. I would like to avoid
> this behavior. 
>
> Is it possible to avoid this. If yes can someone on the list please
> suggest me any method to avoid the same?

The GstVideoSink baseclass recently (in -base 0.10.25) had a
"show-preroll-frame" property added to it, which will do what you want
if the videosink you're using has been updated to use the new show_frame
vfunc that was added along with it.

Cheers 
 -Tim






More information about the gstreamer-devel mailing list