summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebrn@axis.com>2014-07-03 16:32:02 (GMT)
committerSebastian Dröge <sebastian@centricular.com>2014-07-03 17:37:18 (GMT)
commit7807e2e6fd146cce26a0374aa3e4e03cc443a9b5 (patch)
tree3d3e84ef3e9c7ff353b832de08cf3b10218f44cf
parentfb44ec9615489f8baa388f658a86991635697697 (diff)
downloadgst-plugins-base-7807e2e6fd146cce26a0374aa3e4e03cc443a9b5.tar.gz
gst-plugins-base-7807e2e6fd146cce26a0374aa3e4e03cc443a9b5.tar.xz
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
-rw-r--r--gst-libs/gst/riff/riff-read.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst-libs/gst/riff/riff-read.c b/gst-libs/gst/riff/riff-read.c
index 824bc73..a60b9cf 100644
--- 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;