qtdemux: unpack more information into image/x-j2c caps
authorAndy Wingo <wingo@oblong.net>
Tue, 20 Oct 2009 15:20:55 +0000 (17:20 +0200)
committerAndy Wingo <wingo@oblong.net>
Tue, 20 Oct 2009 15:20:55 +0000 (17:20 +0200)
commitc917d65e6df0b5d585f905c7ad78a8a0a44b2cb0
tree94200bb099a8b28825edbbf52f3cad3f92f35372
parent3503cfa456f10a91fbeff99d381f4390aaa71c27
qtdemux: unpack more information into image/x-j2c caps

* gst/qtdemux/qtdemux_fourcc.h: Add new fourccs for use by the mj2
  unpacker.
* gst/qtdemux/qtdemux.c (qtdemux_parse_trak): Unpack JPEG2000 component
  mapping and channel definitions from the jp2h header. Will add
  component-map and channel-definitions elements to the caps if the
  component maps or channel definitions are nonstandard, where standard
  order means RGB, 444 packed YUV, or greyscale, with no alpha channel.

Fixes #598915.
gst/qtdemux/qtdemux.c
gst/qtdemux/qtdemux_fourcc.h