GNOME Bugzilla – Bug 651050
[mpegtsmux] error "Stream on pad xxx is not associated with any program" debug output incorrect pointer instead of padname
Last modified: 2011-05-25 13:26:47 UTC
in my little mpeg TS-to-M2TS remuxing app, i've stumbled upon streams which cause this error.
Created attachment 188577 [details] GST_DEBUG_NO_COLOR=1 GST_DEBUG=*:5 bdremux ...
when actually outputting the object name rather than the pointer address of best with gst_object_get_name(best) it turns out (bdremux:3746): GStreamer-CRITICAL **: gst_object_get_name: assertion `GST_IS_OBJECT (object)' failed 0:00:04.031822000 3746 0x562850 WARN mpegtsmux mpegtsmux.c:754:mpegtsmux_collected:<m2tsmux> error: Stream on pad (null) is not associated with any program that best is null
okay thanks to thaytan, i think i've found a solution to this problem and will change my code so that it won't try requesting new muxer pads once buffers have started going downstream. instead, this bug is going to be the place where i'll post a tiny little fix to the debug output line so that the error message is correct.
Created attachment 188587 [details] [review] use actual pad pointer instead of MpegTsPadData in debug output
commit 4a7057048fbf531af9f2623cd012dada85b231d3 Author: Andreas Frisch <fraxinas@opendreambox.org> Date: Wed May 25 15:10:19 2011 +0200 mpegtsmux: fix pointer output in stream-not-associated debug output https://bugzilla.gnome.org/show_bug.cgi?id=651050