viddec: avoid renegotiation
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 19 Jun 2012 10:23:32 +0000 (12:23 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 19 Jun 2012 10:23:32 +0000 (12:23 +0200)
commitdb53c6e5ec82a9c7df55a03c493ae0421a14a412
tree859d675b1a9e58c1375148e396246c233d800156
parent83f57519b4cc0a46e882110e6cbc5f4a4591b4e1
viddec: avoid renegotiation

Keep track of the context veriables and renegotiate when something changes. We
need to use separate values for this because not all values can be copied into a
GstVideoInfo.
Set the output interlacing based on the libav context.
Use the demuxer and decoder framerate to construct an output framerate.
Use demuxer and decoder par to construct an output framerate.
ext/ffmpeg/gstffmpegviddec.c