projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb44ec9
)
riff: Print invalid fourcc in error message in hex
author
Sebastian Rasmussen
<sebrn@axis.com>
Thu, 3 Jul 2014 16:32:02 +0000
(18:32 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Thu, 3 Jul 2014 17:37:18 +0000
(19:37 +0200)
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
gst-libs/gst/riff/riff-read.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/riff/riff-read.c
b/gst-libs/gst/riff/riff-read.c
index 824bc7324f500a1dad6bb39a7e04849a86356a00..a60b9cf7bfa1911e9cc9dbfd060527a3971a30dc 100644
(file)
--- a/
gst-libs/gst/riff/riff-read.c
+++ b/
gst-libs/gst/riff/riff-read.c
@@
-258,8
+258,7
@@
too_small:
not_riff:
{
GST_ELEMENT_ERROR (element, STREAM, WRONG_TYPE, (NULL),
- ("Stream is no RIFF stream: %" GST_FOURCC_FORMAT,
- GST_FOURCC_ARGS (tag)));
+ ("Stream is no RIFF stream: 0x%" G_GINT32_MODIFIER "x", tag));
gst_buffer_unmap (buf, &info);
gst_buffer_unref (buf);
return FALSE;