mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
riff: Print invalid fourcc in error message in hex
Previously this was printed as characters which caused later processing of the error message to sometimes warn about non-UTF-8 characters. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732697
This commit is contained in:
parent
fb44ec9615
commit
7807e2e6fd
1 changed files with 1 additions and 2 deletions
|
@ -258,8 +258,7 @@ too_small:
|
||||||
not_riff:
|
not_riff:
|
||||||
{
|
{
|
||||||
GST_ELEMENT_ERROR (element, STREAM, WRONG_TYPE, (NULL),
|
GST_ELEMENT_ERROR (element, STREAM, WRONG_TYPE, (NULL),
|
||||||
("Stream is no RIFF stream: %" GST_FOURCC_FORMAT,
|
("Stream is no RIFF stream: 0x%" G_GINT32_MODIFIER "x", tag));
|
||||||
GST_FOURCC_ARGS (tag)));
|
|
||||||
gst_buffer_unmap (buf, &info);
|
gst_buffer_unmap (buf, &info);
|
||||||
gst_buffer_unref (buf);
|
gst_buffer_unref (buf);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue