GNOME Bugzilla – Bug 766800
videodecoder: Make sure the DISCONT flag is set on the outgoing buffer
Last modified: 2016-06-02 08:25:04 UTC
See commit
Created attachment 328391 [details] [review] videodecoder: Make sure the DISCONT flag is set on the outgoing buffer The base class was setting the DISCONT flag before checking whether the buffer would be in segment or not. Fix issues with DISCONT flags not being properly propagated downstream when decoders buffers were out of segment.
Review of attachment 328391 [details] [review]: audiodecoder already does the right thing? ::: gst-libs/gst/video/gstvideodecoder.c @@ +3072,2 @@ if (priv->discont) { GST_BUFFER_FLAG_SET (output_buffer, GST_BUFFER_FLAG_DISCONT); Can this go away too then? You would set the flag again further down anyway?
I accidentially pushed this now, but the patch itself seems fine. Should just check the same for audiodecoder, which I'll do now shortly.
It does