mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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
This commit is contained in:
parent
9c13c84afd
commit
1f371ce855
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue