videodecoder: Spurious renegotiation
@ndufresne
Submitted by Nicolas Dufresne Link to original bug (#742883)
Description
We made changed recently in the video decoder behaviour and I think they might be related to spurious renegotiation happening in various decoder. Right not it happens twice in v4l2videodec, and every frame with avdec_h264. To reproduce:
gdb --args gst-launch-1.0 filesrc location=some.mp4 ! qtdemux ! avdec_h264 ! fakesink
$ break gst_ffmpegviddec_negotiate
Normally in such a simple pipeline, negotiate should be called only once.