mssdemux: Add missing object param to GST_DEBUG|INFO_OBJECT calls
authorAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>
Tue, 5 Feb 2013 05:27:22 +0000 (03:27 -0200)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Wed, 8 May 2013 00:09:48 +0000 (21:09 -0300)
ext/smoothstreaming/gstmssdemux.c

index cb98401..d5558c1 100644 (file)
@@ -959,13 +959,13 @@ gst_mss_demux_reconfigure (GstMssDemux * mssdemux)
     new_bitrate = MIN (mssdemux->connection_speed, new_bitrate);
   }
 
-  GST_DEBUG_OBJECT ("Current suggested bitrate: %llu", new_bitrate);
+  GST_DEBUG_OBJECT (mssdemux, "Current suggested bitrate: %llu", new_bitrate);
 
   gst_mss_demux_stop_tasks (mssdemux, TRUE);
   if (gst_mss_manifest_change_bitrate (mssdemux->manifest, new_bitrate)) {
     GstClockTime newseg_ts = GST_CLOCK_TIME_NONE;
 
-    GST_INFO_OBJECT ("Switching to bitrate %llu", new_bitrate);
+    GST_INFO_OBJECT (mssdemux, "Switching to bitrate %llu", new_bitrate);
 
     GST_DEBUG_OBJECT (mssdemux, "Creating new pad group");
     /* if we changed the bitrate, we need to add new pads */