From: Mark Nauwelaerts Date: Thu, 28 May 2009 11:56:10 +0000 (+0200) Subject: qtmux: use different stsd atom type for H263 for ISO and QT variants X-Git-Tag: RELEASE-0.10.29~208 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4dbeaeefe37f340d12399947f793d7596af145d6;p=platform%2Fupstream%2Fgst-plugins-good.git qtmux: use different stsd atom type for H263 for ISO and QT variants Fixes #584114. --- diff --git a/gst/quicktime/fourcc.h b/gst/quicktime/fourcc.h index 0fa7aa9b3..3db600360 100644 --- a/gst/quicktime/fourcc.h +++ b/gst/quicktime/fourcc.h @@ -140,6 +140,7 @@ G_BEGIN_DECLS #define FOURCC_drms GST_MAKE_FOURCC('d','r','m','s') #define FOURCC_avc1 GST_MAKE_FOURCC('a','v','c','1') #define FOURCC_h263 GST_MAKE_FOURCC('h','2','6','3') +#define FOURCC_s263 GST_MAKE_FOURCC('s','2','6','3') #define FOURCC_avcC GST_MAKE_FOURCC('a','v','c','C') #define FOURCC_VP31 GST_MAKE_FOURCC('V','P','3','1') #define FOURCC_rle_ GST_MAKE_FOURCC('r','l','e',' ') diff --git a/gst/quicktime/gstqtmux.c b/gst/quicktime/gstqtmux.c index b0df9d71a..03b0a1a64 100644 --- a/gst/quicktime/gstqtmux.c +++ b/gst/quicktime/gstqtmux.c @@ -1507,7 +1507,10 @@ gst_qt_mux_video_sink_set_caps (GstPad * pad, GstCaps * caps) break; } } else if (strcmp (mimetype, "video/x-h263") == 0) { - entry.fourcc = FOURCC_h263; + if (format == GST_QT_MUX_FORMAT_QT) + entry.fourcc = FOURCC_h263; + else + entry.fourcc = FOURCC_s263; ext_atom = build_h263_extension (); } else if (strcmp (mimetype, "video/x-divx") == 0 || strcmp (mimetype, "video/mpeg") == 0) {