After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 481276 - [mpegtsparse] "not linked (-1)" error
[mpegtsparse] "not linked (-1)" error
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal minor
: 0.10.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-09-28 12:44 UTC by Vincent Génieux
Modified: 2007-10-01 09:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed fix (removal of a useless src pad) (2.68 KB, patch)
2007-09-28 12:47 UTC, Vincent Génieux
committed Details | Review

Description Vincent Génieux 2007-09-28 12:44:08 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:
Comment 1 Vincent Génieux 2007-09-28 12:47:00 UTC
Created attachment 96324 [details] [review]
Proposed fix (removal of a useless src pad)
Comment 2 Sebastian Dröge (slomo) 2007-10-01 09:22:39 UTC
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.