Re: gst-plugins-base: videodecoder: Send serialised events immediately, after we're pre-rolled.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: gst-plugins-base: videodecoder: Send serialised events immediately, after we're pre-rolled.

Sebastian Dröge
On Fr, 2012-08-31 at 12:45 -0700, Jan Schmidt wrote:

> Module: gst-plugins-base
> Branch: master
> Commit: ef5316fbb0f6d5ffad7be18ed36903a89341c4de
> URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=ef5316fbb0f6d5ffad7be18ed36903a89341c4de
>
> Author: Jan Schmidt <[hidden email]>
> Date:   Fri Aug 31 12:40:36 2012 -0700
>
> videodecoder: Send serialised events immediately, after we're pre-rolled.
>
> Only hold back events until the first buffer is generated, then just
> send them directly. Otherwise, important events like 'still-frame' are
> held forever, waiting for a frame that'll never arrive.
This is not correct though as this way events can run faster than
buffers. This happens for example when the decoder has an internal queue
or when frames are reordered.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (205 bytes) Download Attachment