From: <thi...@ke...> - 2009-12-16 19:44:20
|
Module: gst-plugins-bad Branch: master Commit: 1b2e0eae670fafeb9773b7c9f7efdb8c06c05f18 URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=1b2e0eae670fafeb9773b7c9f7efdb8c06c05f18 Author: Thiago Santos <thi...@co...> Date: Thu Dec 10 22:20:45 2009 -0300 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/qtmux/atoms.c | 169 ++++++++++++++++++++++++++++++++++++++++------- gst/qtmux/atoms.h | 7 ++- gst/qtmux/fourcc.h | 1 + gst/qtmux/gstqtmux.c | 69 +++++++++++++++++-- gst/qtmux/gstqtmux.h | 21 +++++- gst/qtmux/gstqtmuxmap.c | 3 +- 6 files changed, 236 insertions(+), 34 deletions(-) Diff: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/diff/?id=1b2e0eae670fafeb9773b7c9f7efdb8c06c05f18 |