mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
Modify private-tag name formatter so that it doesn't go mad at fourcc starting with '(c)'.
This commit is contained in:
parent
74f84ae47f
commit
1af5a5d001
1 changed files with 3 additions and 2 deletions
|
@ -4201,8 +4201,9 @@ qtdemux_tag_add_blob (GNode * node, GstQTDemux * demux)
|
||||||
style = "iso";
|
style = "iso";
|
||||||
|
|
||||||
media_type = g_strdup_printf ("application/x-gst-qt-%c%c%c%c-tag",
|
media_type = g_strdup_printf ("application/x-gst-qt-%c%c%c%c-tag",
|
||||||
g_ascii_tolower (data[4]), g_ascii_tolower (data[5]),
|
(data[4] == 0xa9) ? '_' : g_ascii_tolower (data[4]),
|
||||||
g_ascii_tolower (data[6]), g_ascii_tolower (data[7]));
|
g_ascii_tolower (data[5]), g_ascii_tolower (data[6]),
|
||||||
|
g_ascii_tolower (data[7]));
|
||||||
caps = gst_caps_new_simple (media_type, "style", G_TYPE_STRING, style, NULL);
|
caps = gst_caps_new_simple (media_type, "style", G_TYPE_STRING, style, NULL);
|
||||||
gst_buffer_set_caps (buf, caps);
|
gst_buffer_set_caps (buf, caps);
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
|
|
Loading…
Reference in a new issue