mimdec: 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:
Sebastian Rasmussen 2014-07-04 03:19:42 +02:00 committed by Tim-Philipp Müller
parent 1f371ce855
commit 77905f632e

View file

@ -176,8 +176,8 @@ gst_mim_dec_chain (GstPad * pad, GstObject * parent, GstBuffer * buf)
gst_adapter_unmap (mimdec->adapter);
gst_adapter_flush (mimdec->adapter, 24);
GST_ELEMENT_ERROR (mimdec, STREAM, WRONG_TYPE, (NULL),
("invalid frame: unknown FOURCC code %X (%" GST_FOURCC_FORMAT ")",
fourcc, GST_FOURCC_ARGS (fourcc)));
("invalid frame: unknown FOURCC code 0x%" G_GINT32_MODIFIER "x",
fourcc));
return GST_FLOW_ERROR;
}