subtitleoverlay: pass correct parameter to debug message
Get the format name to pass to the debug message, as it expects a string
This commit is contained in:
parent
5627aa81bd
commit
c095dc29fe
@ -2138,7 +2138,7 @@ gst_subtitle_overlay_subtitle_sink_event (GstPad * pad, GstObject * parent,
|
|||||||
GstFormat format = eventsegment->format;
|
GstFormat format = eventsegment->format;
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (pad, "Subtitle newsegment event (%s) not in TIME "
|
GST_DEBUG_OBJECT (pad, "Subtitle newsegment event (%s) not in TIME "
|
||||||
"format, converting", format);
|
"format, converting", gst_format_get_name (format));
|
||||||
peer = gst_pad_get_peer (pad);
|
peer = gst_pad_get_peer (pad);
|
||||||
|
|
||||||
if (peer) {
|
if (peer) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user