qtmux: support more of j2k
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Fri, 11 Dec 2009 01:20:45 +0000 (22:20 -0300)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 12 Apr 2011 19:32:14 +0000 (20:32 +0100)
commitc5f6e74db95301bf7f5040f1cea2e02e60078d8c
tree8e78a4e82ca35fc254c7953171b71b28ed961aad
parent083f825c4351daef731ab9a629b68bd1b5e729bf
qtmux: support more of j2k

Reads the new caps added to qtdemux by commit
c917d65e6df0b5d585f905c7ad78a8a0a44b2cb0
and adds its corresponding atoms.

Also adds support for image/x-jpc as it is the same
as image/x-jp2, except that the buffers need to be
boxed inside a jp2c isom box before muxing. To solve
this the QTPads now have a function that (if
not NULL) is called when a buffer is collected. This
function returns a replacement to the current collected
buffer.

Fixes #598916
gst/quicktime/atoms.c
gst/quicktime/atoms.h
gst/quicktime/fourcc.h
gst/quicktime/gstqtmux.c
gst/quicktime/gstqtmux.h
gst/quicktime/gstqtmuxmap.c