Commit b772d5d2 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

riff: 8-bit paletted video is format RGB8P, not RGB8_PALETTED

https://bugzilla.gnome.org/show_bug.cgi?id=686046
parent d8d9f0db
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment