tsmux: Don't use GST_DEBUG_OBJECT() with non-GObject types
authorSebastian Dröge <sebastian@centricular.com>
Wed, 21 Mar 2018 08:59:29 +0000 (10:59 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 21 Mar 2018 08:59:29 +0000 (10:59 +0200)
gst/mpegtsmux/tsmux/tsmux.c

index e13ee5fac19390a87932d17f3a9d332af589dc3c..95d7306c92a4e1fedeed4527840f38ff0e9cde83 100644 (file)
@@ -1104,8 +1104,7 @@ tsmux_write_stream_packet (TsMux * mux, TsMuxStream * stream)
 
   gst_buffer_unmap (buf, &map);
 
-  GST_DEBUG_OBJECT (mux, "Writing PES of size %d",
-      (int) gst_buffer_get_size (buf));
+  GST_DEBUG ("Writing PES of size %d", (int) gst_buffer_get_size (buf));
   res = tsmux_packet_out (mux, buf, cur_pcr);
 
   /* Reset all dynamic flags */