GNOME Bugzilla – Bug 481276
[mpegtsparse] "not linked (-1)" error
Last modified: 2007-10-01 09:22:39 UTC
Please describe the problem: When running mpegtsparse connected to a transport stream source (e.g. filesrc). The graph cannot be started. Steps to reproduce: Try to launch this graph: $ gst-launch filesrc location=multiple.ts ! mpegtsparse program-numbers=1026 name=parser parser.program_1026 ! filesink location=single.ts Actual results: The graph is not running and returns a "not linked (-1)" error : Additional debug info: gstbasesrc.c(2048): gst_base_src_loop (): /pipeline0/filesrc0: streaming task paused, reason not-linked (-1) ERROR: pipeline doesn't want to preroll. Expected results: This graph should run, and connect to the "program_1026" dynamic pad Does this happen every time? yes Other information:
Created attachment 96324 [details] [review] Proposed fix (removal of a useless src pad)
2007-10-01 Sebastian Dröge <slomo@circular-chaos.org> Patch by: mutex at runbox dot com * gst/mpegtsparse/mpegtspacketizer.c: (mpegts_packetizer_parse_adaptation_field_control): * gst/mpegtsparse/mpegtsparse.c: (mpegts_parse_base_init), (mpegts_parse_init), (mpegts_parse_push): * gst/mpegtsparse/mpegtsparse.h: Remove useless src pad that only results in not linked errors, fix a broken pointer dereference and make MAX_CONTINUITY constant conform to the standard to stop outputting corrupted data. Fixes #481276, #481279.