riff: 8-bit paletted video is format RGB8P, not RGB8_PALETTED
authorTim-Philipp Müller <tim@centricular.net>
Fri, 12 Oct 2012 20:31:25 +0000 (21:31 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 12 Oct 2012 20:31:25 +0000 (21:31 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=686046

gst-libs/gst/riff/riff-media.c

index a0ce9c0..c64e996 100644 (file)
@@ -69,7 +69,7 @@ gst_riff_create_video_caps (guint32 codec_fcc,
       if (strf) {
         if (bpp == 8) {
           caps = gst_caps_new_simple ("video/x-raw",
-              "format", G_TYPE_STRING, "RGB8_PALETTED", NULL);
+              "format", G_TYPE_STRING, "RGB8P", NULL);
         } else if (bpp == 24) {
           caps = gst_caps_new_simple ("video/x-raw",
               "format", G_TYPE_STRING, "BGR", NULL);
@@ -84,7 +84,7 @@ gst_riff_create_video_caps (guint32 codec_fcc,
         /* for template */
         caps =
             gst_caps_from_string ("video/x-raw, format = (string) "
-            "{ RGB8_PALETTED, BGR, BGRx }");
+            "{ RGB8P, BGR, BGRx }");
       }
 
       palette = strf_data;