qtmux: use different stsd atom type for H263 for ISO and QT variants

Fixes #584114.
This commit is contained in:
Mark Nauwelaerts 2009-05-28 13:56:10 +02:00 committed by Tim-Philipp Müller
parent 8e95c502f7
commit 4dbeaeefe3
2 changed files with 5 additions and 1 deletions

View file

@ -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',' ')

View file

@ -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) {