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 597091 - [flvdemux] not outputting no-more-pads causes playbin2 to fail badly on streamed single-stream flv
[flvdemux] not outputting no-more-pads causes playbin2 to fail badly on strea...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.17
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-02 10:07 UTC by Zaheer Abbas Merali
Modified: 2009-10-03 10:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
flvdemux: Make sure to only signal no-more-pads a single time (3.42 KB, patch)
2009-10-02 12:40 UTC, Sebastian Dröge (slomo)
committed Details | Review
flvdemux: If there's no audio stream after 6 seconds of video signal no-more-pads (4.26 KB, patch)
2009-10-02 12:40 UTC, Sebastian Dröge (slomo)
committed Details | Review

Description Zaheer Abbas Merali 2009-10-02 10:07:22 UTC
If there is a live stream that has flv with only one stream (audio only or video only), flvdemux never outputs no more pads. This causes playbin2 to wait for an overrun on its multiqueue before preroll completes which can take a long time.

Example stream:

The one pointed to by this playlist.

http://audiodemo.stream.flumotion.com/flumotion/audiodemo/32.flv.m3u
Comment 1 Sebastian Dröge (slomo) 2009-10-02 12:40:10 UTC
Created attachment 144588 [details] [review]
flvdemux: Make sure to only signal no-more-pads a single time
Comment 2 Sebastian Dröge (slomo) 2009-10-02 12:40:20 UTC
Created attachment 144589 [details] [review]
flvdemux: If there's no audio stream after 6 seconds of video signal no-more-pads

...and the other way around. Also ignore any audio/video streams that appear
after no-more-pads.

Fixes bug #597091.
Comment 3 Sebastian Dröge (slomo) 2009-10-03 10:23:30 UTC
Attachment 144589 [details] pushed as 48b784e - flvdemux: If there's no audio stream after 6 seconds of video signal no-more-pads