ffdec: ensure buffers have correct interlacedness in caps
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 29 Aug 2011 14:18:39 +0000 (15:18 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 3 Oct 2011 09:18:06 +0000 (11:18 +0200)
commitd4d5e350d073bab89faf6a781ba5ef9df45f19b8
tree3914b9ea94e8f732a21f54926d82bdc8e2b178bc
parent8bf3d5a2b77eff15e130bde36366457c26b7f66a
ffdec: ensure buffers have correct interlacedness in caps

Whether a frame is interlaced or not is unknown at the time of
buffer allocation, so caps on the buffer in opaque will have
a previous frame's interlaced flag set. So if interlacedness
changes, we update the buffer (if any) caps with the correct
interlaced flag once we know.

https://bugzilla.gnome.org/show_bug.cgi?id=656155
ext/ffmpeg/gstffmpegdec.c