rademux: 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=732716
This commit is contained in:
Sebastian Rasmussen 2014-07-04 03:22:00 +02:00 committed by Tim-Philipp Müller
parent cf0ea1eb37
commit e593ae2db6

View file

@ -521,8 +521,7 @@ gst_real_audio_demux_parse_header (GstRealAudioDemux * demux)
unknown_fourcc: unknown_fourcc:
{ {
GST_ELEMENT_ERROR (GST_ELEMENT (demux), STREAM, DECODE, (NULL), GST_ELEMENT_ERROR (GST_ELEMENT (demux), STREAM, DECODE, (NULL),
("Unknown fourcc '%" GST_FOURCC_FORMAT "'", ("Unknown fourcc '0x%" G_GINT32_MODIFIER "x'", demux->fourcc));
GST_FOURCC_ARGS (demux->fourcc)));
return GST_FLOW_ERROR; return GST_FLOW_ERROR;
} }
broken_file: broken_file: