summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2014-07-04 03:22:00 +0200
committerTim-Philipp Müller <tim@centricular.com>2014-07-04 08:41:13 +0100
commite593ae2db6bf51345aebd71782b15c1dfc23f59c (patch)
treee2314bd289c3646a9e0851191b7aac58f5c65d78
parentcf0ea1eb37896d82690a72d297fedac6394e9bcb (diff)
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
-rw-r--r--gst/realmedia/rademux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/realmedia/rademux.c b/gst/realmedia/rademux.c
index 155192fc..130f7a84 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: