subtitleoverlay: pass correct parameter to debug message
authorThiago Santos <thiago.sousa.santos@collabora.com>
Tue, 5 Jun 2012 21:12:52 +0000 (18:12 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Wed, 6 Jun 2012 19:31:08 +0000 (16:31 -0300)
Get the format name to pass to the debug message, as it expects a string

gst/playback/gstsubtitleoverlay.c

index 982c642..a3bbd1a 100644 (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) {