h264parse: wait to get resolution before pushing buffers
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 28 Jun 2012 15:10:08 +0000 (15:10 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 28 Jun 2012 15:10:08 +0000 (15:10 +0000)
commit39836c75432b4008508884ed54c406c44824a83f
tree961488b592674c7ae1cab3908f327bc6f7eaf9ae
parent22e12ee7a736db9357ad6cf22fb1fa50ef09c882
h264parse: wait to get resolution before pushing buffers

ducatih264dec wants resolution in caps, so we have to wait for it
to become known before pushing the first buffer, so it includes caps
with the resolution.

This fixes prerolling on the disney-sample.mpg test file.
gst/videoparsers/gsth264parse.c
gst/videoparsers/gsth264parse.h