summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2010-01-23 15:04:35 +0100
committerEdward Hervey <bilboed@bilboed.com>2010-01-23 15:04:35 +0100
commitb5367b89eddbe92136f19af64291063a0c1411a0 (patch)
tree46fcc3dc59fa3c6738b214e2eec41de78e4f2613
parentd714a5a68bb3aa9bbe1db2bdb73496d355fc5956 (diff)
riff: Add mapping for Sigma-Designs MPEG4
It's actually a xvid-compatible stream. both xviddec and ffmpeg handle it.
-rw-r--r--gst-libs/gst/riff/riff-media.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c
index 34df7d01..7b02978a 100644
--- a/gst-libs/gst/riff/riff-media.c
+++ b/gst-libs/gst/riff/riff-media.c
@@ -400,6 +400,12 @@ gst_riff_create_video_caps (guint32 codec_fcc,
*codec_name = g_strdup ("XVID MPEG-4");
break;
+ case GST_MAKE_FOURCC ('R', 'M', 'P', '4'):
+ caps = gst_caps_new_simple ("video/x-xvid", NULL);
+ if (codec_name)
+ *codec_name = g_strdup ("Sigma-Designs MPEG-4");
+ break;
+
case GST_MAKE_FOURCC ('M', 'P', 'G', '4'):
case GST_MAKE_FOURCC ('M', 'P', '4', '1'):
case GST_MAKE_FOURCC ('m', 'p', '4', '1'):