mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
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:
parent
1f371ce855
commit
77905f632e
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue