diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2014-07-04 03:20:22 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2014-07-04 17:46:58 +0100 |
commit | 1f371ce8558fd5fb47fc766e32b5c3ead1134fa4 (patch) | |
tree | 8408b10066fe66402a92e13e87febf8d43e04b2a /gst/aiff | |
parent | 9c13c84afd1a27aa033215529d97abd301b72bed (diff) | |
download | gstreamer-plugins-bad-1f371ce8558fd5fb47fc766e32b5c3ead1134fa4.tar.gz |
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
Diffstat (limited to 'gst/aiff')
-rw-r--r-- | gst/aiff/aiffparse.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; } |