summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorStéphane Loeuillet <gstreamer@leroutier.net>2004-12-13 00:47:20 +0000
committerStéphane Loeuillet <gstreamer@leroutier.net>2004-12-13 00:47:20 +0000
commit351ceb6b0589ccb07e928bcde4414fdba16fcecf (patch)
treed228cc01a3fc9c96d5b91476c8d0ca00bc4f0be9 /gst-libs
parentacd9f7a698633f24debf464067801bcc0c0c5d74 (diff)
gst/asfdemux/README gst/wavenc/riff.h gst-libs/gst/riff/riff-ids.h gst-libs/gst/riff/riff-media.c add new 4CC codes f...
Original commit message from CVS: * gst/asfdemux/README * gst/wavenc/riff.h * gst-libs/gst/riff/riff-ids.h * gst-libs/gst/riff/riff-media.c add new 4CC codes for h263 related codecs fixes partially bug #155163
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/riff/riff-ids.h5
-rw-r--r--gst-libs/gst/riff/riff-media.c7
2 files changed, 12 insertions, 0 deletions
diff --git a/gst-libs/gst/riff/riff-ids.h b/gst-libs/gst/riff/riff-ids.h
index 2684e6c3..18bfb0fc 100644
--- a/gst-libs/gst/riff/riff-ids.h
+++ b/gst-libs/gst/riff/riff-ids.h
@@ -185,6 +185,11 @@
#define GST_RIFF_WPY2 GST_MAKE_FOURCC ('W', 'P', 'Y', '2')
#define GST_RIFF_m263 GST_MAKE_FOURCC ('m', '2', '6', '3')
#define GST_RIFF_M263 GST_MAKE_FOURCC ('M', '2', '6', '3')
+#define GST_RIFF_s263 GST_MAKE_FOURCC ('s', '2', '6', '3')
+#define GST_RIFF_H263 GST_MAKE_FOURCC ('H', '2', '6', '3')
+#define GST_RIFF_i263 GST_MAKE_FOURCC ('i', '2', '6', '3')
+#define GST_RIFF_L263 GST_MAKE_FOURCC ('L', '2', '6', '3')
+#define GST_RIFF_x263 GST_MAKE_FOURCC ('x', '2', '6', '3')
#define GST_RIFF_Q1_0 GST_MAKE_FOURCC ('Q', '1',0x2e, '0')
#define GST_RIFF_SFMC GST_MAKE_FOURCC ('S', 'F', 'M', 'C')
diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c
index 4e4e22d3..7714c077 100644
--- a/gst-libs/gst/riff/riff-media.c
+++ b/gst-libs/gst/riff/riff-media.c
@@ -136,11 +136,18 @@ gst_riff_create_video_caps_with_data (guint32 codec_fcc,
break;
case GST_MAKE_FOURCC ('M', '2', '6', '3'):
+ case GST_MAKE_FOURCC ('m', '2', '6', '3'):
caps = gst_caps_new_simple ("video/x-h263", NULL);
if (codec_name)
*codec_name = g_strdup ("Microsoft H.263");
break;
+ case GST_MAKE_FOURCC ('s', '2', '6', '3'):
+ caps = gst_caps_new_simple ("video/x-h263", NULL);
+ if (codec_name)
+ *codec_name = g_strdup ("3GPP H.263");
+ break;
+
case GST_MAKE_FOURCC ('V', 'D', 'O', 'W'):
caps = gst_caps_new_simple ("video/x-h263", NULL);
if (codec_name)