mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
riff: 8-bit paletted video is format RGB8P, not RGB8_PALETTED
https://bugzilla.gnome.org/show_bug.cgi?id=686046
This commit is contained in:
parent
d8d9f0db97
commit
b772d5d271
1 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@ gst_riff_create_video_caps (guint32 codec_fcc,
|
||||||
if (strf) {
|
if (strf) {
|
||||||
if (bpp == 8) {
|
if (bpp == 8) {
|
||||||
caps = gst_caps_new_simple ("video/x-raw",
|
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) {
|
} else if (bpp == 24) {
|
||||||
caps = gst_caps_new_simple ("video/x-raw",
|
caps = gst_caps_new_simple ("video/x-raw",
|
||||||
"format", G_TYPE_STRING, "BGR", NULL);
|
"format", G_TYPE_STRING, "BGR", NULL);
|
||||||
|
@ -84,7 +84,7 @@ gst_riff_create_video_caps (guint32 codec_fcc,
|
||||||
/* for template */
|
/* for template */
|
||||||
caps =
|
caps =
|
||||||
gst_caps_from_string ("video/x-raw, format = (string) "
|
gst_caps_from_string ("video/x-raw, format = (string) "
|
||||||
"{ RGB8_PALETTED, BGR, BGRx }");
|
"{ RGB8P, BGR, BGRx }");
|
||||||
}
|
}
|
||||||
|
|
||||||
palette = strf_data;
|
palette = strf_data;
|
||||||
|
|
Loading…
Reference in a new issue