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:
Thiago Santos 2012-06-05 18:12:52 -03:00
parent 5627aa81bd
commit c095dc29fe

View file

@ -2138,7 +2138,7 @@ gst_subtitle_overlay_subtitle_sink_event (GstPad * pad, GstObject * parent,
GstFormat format = eventsegment->format;
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);
if (peer) {