[gst-cvs] gst-plugins-base: Riff: Add mapping for Fraps video codec.

Edward Hervey bilboed at kemper.freedesktop.org
Mon Mar 9 02:08:07 PDT 2009


Module: gst-plugins-base
Branch: master
Commit: a3c88fb32b88d0ce1683573849d1d15e077658a9
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=a3c88fb32b88d0ce1683573849d1d15e077658a9

Author: Edward Hervey <bilboed at bilboed.com>
Date:   Mon Mar  9 10:03:13 2009 +0100

Riff: Add mapping for Fraps video codec.

Found through insanity testrun. Confirmed mapping in libavformat.

---

 gst-libs/gst/riff/riff-media.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c
index f39ae9c..53b45ad 100644
--- a/gst-libs/gst/riff/riff-media.c
+++ b/gst-libs/gst/riff/riff-media.c
@@ -761,6 +761,13 @@ gst_riff_create_video_caps (guint32 codec_fcc,
 
       break;
 
+    case GST_MAKE_FOURCC ('F', 'P', 'S', '1'):
+      caps = gst_caps_new_simple ("video/x-fraps", NULL);
+      if (codec_name)
+        *codec_name = g_strdup ("Fraps video");
+
+      break;
+
     default:
       GST_WARNING ("Unknown video fourcc %" GST_FOURCC_FORMAT,
           GST_FOURCC_ARGS (codec_fcc));
@@ -1703,6 +1710,7 @@ gst_riff_create_video_template_caps (void)
     GST_MAKE_FOURCC ('L', 'M', '2', '0'),
     GST_MAKE_FOURCC ('R', 'P', 'Z', 'A'),
     GST_MAKE_FOURCC ('T', 'H', 'E', 'O'),
+    GST_MAKE_FOURCC ('F', 'P', 'S', '1'),
     /* FILL ME */
   };
   guint i;





More information about the Gstreamer-commits mailing list