From 1f371ce8558fd5fb47fc766e32b5c3ead1134fa4 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Fri, 4 Jul 2014 03:20:22 +0200 Subject: aiffparse: 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=732715 --- gst/aiff/aiffparse.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gst/aiff') diff --git a/gst/aiff/aiffparse.c b/gst/aiff/aiffparse.c index 14a499311..efc3e6373 100644 --- a/gst/aiff/aiffparse.c +++ b/gst/aiff/aiffparse.c @@ -250,8 +250,7 @@ gst_aiff_parse_parse_file_header (GstAiffParse * aiff, GstBuffer * buf) not_aiff: { GST_ELEMENT_ERROR (aiff, STREAM, WRONG_TYPE, (NULL), - ("File is not an AIFF file: %" GST_FOURCC_FORMAT, - GST_FOURCC_ARGS (type))); + ("File is not an AIFF file: 0x%" G_GINT32_MODIFIER "x", type)); gst_buffer_unref (buf); return FALSE; } -- cgit v1.2.1