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 775945 - urisourcebin: Ignore buffering message from not-linked element
urisourcebin: Ignore buffering message from not-linked element
Status: RESOLVED DUPLICATE of bug 785799
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-12-11 09:42 UTC by Seungha Yang
Modified: 2017-08-08 07:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
urisourcebin: Ignore buffering message from not-linked element (3.53 KB, patch)
2016-12-11 09:42 UTC, Seungha Yang
none Details | Review
urisourcebin: Do not take account buffering level with sparse stream (3.39 KB, patch)
2016-12-11 09:43 UTC, Seungha Yang
none Details | Review
urisourcebin: Ignore buffering message from not-linked element (3.58 KB, patch)
2016-12-11 09:57 UTC, Seungha Yang
none Details | Review
urisourcebin: Do not take account buffering level with sparse stream (3.45 KB, patch)
2016-12-11 09:58 UTC, Seungha Yang
none Details | Review
urisourcebin: Ignore buffering message from not-linked element (3.56 KB, patch)
2017-07-04 06:59 UTC, Seungha Yang
none Details | Review

Description Seungha Yang 2016-12-11 09:42:09 UTC
When adaptive demux is used, the adaptive demux stops streaming
for not-linked tracks, and so buffering level will be never increased.
Comment 1 Seungha Yang 2016-12-11 09:42:53 UTC
Created attachment 341732 [details] [review]
urisourcebin: Ignore buffering message from not-linked element
Comment 2 Seungha Yang 2016-12-11 09:43:27 UTC
Created attachment 341733 [details] [review]
urisourcebin: Do not take account buffering level with sparse stream

urisourcebin: Do not take account buffering level with sparse stream

Ignore buffering message from sparse stream
Comment 3 Seungha Yang 2016-12-11 09:50:19 UTC
The first patch is for multi-track MPD buffering issue.
If we enable buffering on urisourebin and play multi-track MPD such as following link, buffering never be finished.
http://dash.akamaized.net/dash264/TestCases/9a/qualcomm/2/MultiRate.mpd

And, the other patch does not work yet, because adaptivedemux does not set StreamFlags. About that, I'm working at bug#775132 for GstStreams API to be supported in adaptivedemux.
Comment 4 Seungha Yang 2016-12-11 09:57:49 UTC
Created attachment 341734 [details] [review]
urisourcebin: Ignore buffering message from not-linked element

update commit message
Comment 5 Seungha Yang 2016-12-11 09:58:24 UTC
Created attachment 341735 [details] [review]
urisourcebin: Do not take account buffering level with sparse stream

update commit message
Comment 6 Seungha Yang 2017-07-04 06:59:43 UTC
Created attachment 354867 [details] [review]
urisourcebin: Ignore buffering message from not-linked element

Rebase patch.
The infinite buffering is still there on multi-audio track dash stream.

http://dash.akamaized.net/dash264/TestCases/10a/1/iis_forest_short_poem_multi_lang_480p_single_adapt_aaclc_sidx.mpd
Comment 7 Sebastian Dröge (slomo) 2017-08-08 07:42:23 UTC
The solution in the other bug seems cleaner and more consistent. It's for the buffering element (the queue) to decide if it's full or not :)

But thanks for your patch here!

*** This bug has been marked as a duplicate of bug 785799 ***