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 734394 - tsdemux: Can not change program except destroy pipeline
tsdemux: Can not change program except destroy pipeline
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.4.0
Other Linux
: Normal normal
: 1.4.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-08-07 02:53 UTC by jingbo.hou
Modified: 2014-08-19 03:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jingbo.hou 2014-08-07 02:53:54 UTC
When use the same dvb signal and existing pipeline , can not change program in GST_STATE_READY or GST_STATE_NULL. it seems the src pads of tsdemux are not destroyed.  so there is no "pad-removed" signal emitted.  after changed program,  there is no "pad-added" signal emitted.
Comment 1 Thiago Sousa Santos 2014-08-19 02:48:26 UTC

*** This bug has been marked as a duplicate of bug 730960 ***
Comment 2 Thiago Sousa Santos 2014-08-19 02:51:07 UTC
Wait, this is a slightly different issue. Do you have a sample application depicting this problem?
Comment 3 Thiago Sousa Santos 2014-08-19 03:20:02 UTC
Issue fixed in master and ported to 1.4 branch

master:
commit 52257fe538cf33d2f10855d5ca3a8c3570cc382e
Author: Thiago Santos <thiagoss@osg.samsung.com>
Date:   Tue Aug 19 00:01:28 2014 -0300

    tsdemux: remove pads when resetting the element
    
    Otherwise the pads will be there if it is restarted and the stream
    can be a completely different one.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=734394

1.4:
commit a61e971349647e22fa8d5a02b4cd496a3b897f4c
Author: Thiago Santos <thiagoss@osg.samsung.com>
Date:   Tue Aug 19 00:01:28 2014 -0300

    tsdemux: remove pads when resetting the element
    
    Otherwise the pads will be there if it is restarted and the stream
    can be a completely different one.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=734394


Thanks for reporting this bug, please reopen or open a new one if you still find issues with this demuxer.