From e593ae2db6bf51345aebd71782b15c1dfc23f59c Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Fri, 4 Jul 2014 03:22:00 +0200 Subject: [PATCH] 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 --- gst/realmedia/rademux.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst/realmedia/rademux.c b/gst/realmedia/rademux.c index 155192fc35..130f7a847f 100644 --- a/gst/realmedia/rademux.c +++ b/gst/realmedia/rademux.c @@ -521,8 +521,7 @@ gst_real_audio_demux_parse_header (GstRealAudioDemux * demux) unknown_fourcc: { GST_ELEMENT_ERROR (GST_ELEMENT (demux), STREAM, DECODE, (NULL), - ("Unknown fourcc '%" GST_FOURCC_FORMAT "'", - GST_FOURCC_ARGS (demux->fourcc))); + ("Unknown fourcc '0x%" G_GINT32_MODIFIER "x'", demux->fourcc)); return GST_FLOW_ERROR; } broken_file: