mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-01 01:33:52 +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:
|
not_aiff:
|
||||||
{
|
{
|
||||||
GST_ELEMENT_ERROR (aiff, STREAM, WRONG_TYPE, (NULL),
|
GST_ELEMENT_ERROR (aiff, STREAM, WRONG_TYPE, (NULL),
|
||||||
("File is not an AIFF file: %" GST_FOURCC_FORMAT,
|
("File is not an AIFF file: 0x%" G_GINT32_MODIFIER "x", type));
|
||||||
GST_FOURCC_ARGS (type)));
|
|
||||||
gst_buffer_unref (buf);
|
gst_buffer_unref (buf);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue