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 676549 - [icydemux] icydemux doesn't autoplug on master&0.11
[icydemux] icydemux doesn't autoplug on master&0.11
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-05-22 11:34 UTC by Anton Novikov
Modified: 2012-05-23 08:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
supposed fix (1.31 KB, patch)
2012-05-22 11:35 UTC, Anton Novikov
committed Details | Review
patch for warning (1023 bytes, patch)
2012-05-22 11:36 UTC, Anton Novikov
committed Details | Review

Description Anton Novikov 2012-05-22 11:34:33 UTC
Patches are attached;
the sample output with 'warning-if-setting-srcpad-caps-fails' one applied:

$ gst-launch-1.0 --gst-debug=3 playbin uri=http://u16b.di.fm:80/di_ambient
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.140571669 10141      0x2619b70 WARN                GST_PADS gstpad.c:3432:gst_pad_peer_query:<typefindelement0:src> pad has no peer
0:00:00.768875073 10141      0x2619b70 WARN                GST_PADS gstpad.c:3432:gst_pad_peer_query:<queue2-0:src> pad has no peer
0:00:00.775417927 10141 0x7f0adc0239e0 WARN                icydemux gsticydemux.c:237:gst_icydemux_add_srcpad:<icydemux0> Failed to set caps on src pad
0:00:00.775472401 10141 0x7f0adc0239e0 WARN               decodebin gstdecodebin2.c:1707:analyze_new_pad:<icydemux0:src> pad has ANY caps, not able to autoplug to anything
0:00:00.898384015 10141      0x2619b70 WARN                 basesrc gstbasesrc.c:2710:gst_base_src_loop:<source> error: Internal data flow error.
0:00:00.898422780 10141      0x2619b70 WARN                 basesrc gstbasesrc.c:2710:gst_base_src_loop:<source> error: streaming task paused, reason not-linked (-1)
ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstSoupHTTPSrc:source: Internal data flow error.
Additional debug info:
gstbasesrc.c(2710): gst_base_src_loop (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstSoupHTTPSrc:source:
streaming task paused, reason not-linked (-1)
ERROR: pipeline doesn't want to preroll.
Comment 1 Anton Novikov 2012-05-22 11:35:12 UTC
Created attachment 214645 [details] [review]
supposed fix
Comment 2 Anton Novikov 2012-05-22 11:36:36 UTC
Created attachment 214646 [details] [review]
patch for warning
Comment 3 Anton Novikov 2012-05-22 11:37:39 UTC
git tree: git://github.com/an146/gst-plugins-good.git
Comment 4 Sebastian Dröge (slomo) 2012-05-23 08:06:19 UTC
commit eba7494ab03f8a8e981e7b420071e0167ab41df8
Author: Anton Novikov <random.plant@gmail.com>
Date:   Tue May 22 12:35:04 2012 +0400

    icydemux: warning if setting srcpad caps fails

commit 6c31088adc2b8dcb7da3fb08c5ceb7977fcd9ae7
Author: Anton Novikov <random.plant@gmail.com>
Date:   Tue May 22 12:35:29 2012 +0400

    icydemux: activate srcpad before setting caps
    
    Before gst_pad_set_active() is called, the pad has
    FLUSHING flag set, so setting the caps fails