mpegtsmux: fix pointer output in stream-not-associated debug output
authorAndreas Frisch <fraxinas@opendreambox.org>
Wed, 25 May 2011 13:10:19 +0000 (15:10 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 25 May 2011 13:21:57 +0000 (14:21 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=651050

gst/mpegtsmux/mpegtsmux.c

index 09cf3ec..6ba24ec 100644 (file)
@@ -679,7 +679,8 @@ mpegtsmux_collected (GstCollectPads * pads, MpegTsMux * mux)
     if (prog == NULL) {
       GST_ELEMENT_ERROR (mux, STREAM, MUX,
           ("Stream on pad %" GST_PTR_FORMAT
-              " is not associated with any program", best), (NULL));
+              " is not associated with any program", COLLECT_DATA_PAD (best)),
+          (NULL));
       return GST_FLOW_ERROR;
     }