From: Sebastian Dröge Date: Tue, 13 Jan 2015 18:05:20 +0000 (+0100) Subject: qtmux: Add support for v210 X-Git-Tag: 1.6.0~658 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc2251a6648461390985bc5ad7f6adbb50108359;p=platform%2Fupstream%2Fgst-plugins-good.git qtmux: Add support for v210 --- diff --git a/gst/isomp4/fourcc.h b/gst/isomp4/fourcc.h index 4edf900..2f8874b 100644 --- a/gst/isomp4/fourcc.h +++ b/gst/isomp4/fourcc.h @@ -216,6 +216,7 @@ G_BEGIN_DECLS #define FOURCC_ulaw GST_MAKE_FOURCC('u','l','a','w') #define FOURCC_url_ GST_MAKE_FOURCC('u','r','l',' ') #define FOURCC_uuid GST_MAKE_FOURCC('u','u','i','d') +#define FOURCC_v210 GST_MAKE_FOURCC('v','2','1','0') #define FOURCC_vide GST_MAKE_FOURCC('v','i','d','e') #define FOURCC_vmhd GST_MAKE_FOURCC('v','m','h','d') #define FOURCC_wave GST_MAKE_FOURCC('w','a','v','e') diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c index 6614ba4..9247d88 100644 --- a/gst/isomp4/gstqtmux.c +++ b/gst/isomp4/gstqtmux.c @@ -3049,6 +3049,13 @@ gst_qt_mux_video_sink_set_caps (GstQTPad * qtpad, GstCaps * caps) entry.depth = depth; sync = FALSE; break; + case GST_VIDEO_FORMAT_v210: + if (depth == -1) + depth = 24; + entry.fourcc = FOURCC_v210; + entry.depth = depth; + sync = FALSE; + break; default: if (GST_VIDEO_FORMAT_INFO_FLAGS (vinfo) & GST_VIDEO_FORMAT_FLAG_RGB) { entry.fourcc = FOURCC_raw_; diff --git a/gst/isomp4/gstqtmuxmap.c b/gst/isomp4/gstqtmuxmap.c index 1f5f2b7..060f38b 100644 --- a/gst/isomp4/gstqtmuxmap.c +++ b/gst/isomp4/gstqtmuxmap.c @@ -149,7 +149,7 @@ GstQTMuxFormatProp gst_qt_mux_format_list[] = { GST_STATIC_CAPS ("video/quicktime, variant = (string) apple; " "video/quicktime"), GST_STATIC_CAPS ("video/x-raw, " - "format = (string) { RGB, UYVY }, " + "format = (string) { RGB, UYVY, v210 }, " COMMON_VIDEO_CAPS "; " MPEG4V_CAPS "; " H263_CAPS "; "