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:
Sebastian Rasmussen 2014-07-03 18:32:02 +02:00 committed by Sebastian Dröge
parent fb44ec9615
commit 7807e2e6fd

View file

@ -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;