projects
/
platform
/
upstream
/
gst-plugins-ugly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf0ea1e
)
rademux: Print invalid fourcc in error message in hex
author
Sebastian Rasmussen
<sebras@hotmail.com>
Fri, 4 Jul 2014 01:22:00 +0000
(
03:22
+0200)
committer
Tim-Philipp Müller
<tim@centricular.com>
Fri, 4 Jul 2014 07:41:13 +0000
(08:41 +0100)
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
patch
|
blob
|
history
diff --git
a/gst/realmedia/rademux.c
b/gst/realmedia/rademux.c
index 155192fc358d18f4fb1dfa5b07dddc9cdce19b9f..130f7a847fec1f80ad7cc8c9d098fe4dac187302 100644
(file)
--- 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: