videodecoder: Make sure the DISCONT flag is set on the outgoing buffer
authorEdward Hervey <edward@centricular.com>
Mon, 23 May 2016 13:11:53 +0000 (15:11 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 2 Jun 2016 07:50:58 +0000 (10:50 +0300)
commitfb21fc3af1a3736c29bf021176084a50c92dd76b
treefa065e1c790df2a78108b123d6a7af4eaa369c18
parentbd49854c3299d1cc090255ef6414d723e8652862
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.

https://bugzilla.gnome.org/show_bug.cgi?id=766800
gst-libs/gst/video/gstvideodecoder.c