qtmux: Actually use new caps info on renegotiation
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 14 Jan 2010 11:09:03 +0000 (08:09 -0300)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 12 Apr 2011 19:32:15 +0000 (20:32 +0100)
commit33bf180eaa61e947c7333563434ef972a44b5b38
tree5a778dc5602699ee14e1e29380739c4ec3d31273
parenta5f22f03aa25b04726f78ae619f40b3b648f7d48
qtmux: Actually use new caps info on renegotiation

Following the previous qtmux commit, this patch tries
to use the new info added to the caps to fill the 'trak'
atom's fields and children atoms. This way qtmux will
use the late added 'codec_data' when h264parse adds
it in the following pipeline:

videotestsrc num-buffers=200 ! x264enc byte-stream=true ! \
h264parse output-format=0 ! qtmux ! \
filesink location=test.mov
gst/quicktime/atoms.c
gst/quicktime/gstqtmux.c