gstffmpegdec: Implement interlaced support.
authorEdward Hervey <bilboed@bilboed.com>
Tue, 12 May 2009 09:16:43 +0000 (11:16 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 12 May 2009 09:16:43 +0000 (11:16 +0200)
commitfb613191ae4885c398bd204acc126882f0752633
treefdf6b010409c4a5064fa902f42f593873df0cbfe
parent342b97cb3fb20a96cbcec710accf1141e1655d2f
gstffmpegdec: Implement interlaced support.

ffmpeg only tells us on a per-decoded-buffer basis if the stream is
interlaced or not. When we see a change, we force negotiation.

We can't detect that in our get_buffer() (when doing downstream allocation),
because at that point the interlaced flags aren't set on the outgoing
buffer.
ext/ffmpeg/gstffmpegdec.c