[Bug 758257] adaptivedemux: don't expose pads until caps are known

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jan 10 07:32:50 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=758257

--- Comment #19 from Jan Schmidt <thaytan at noraisin.net> ---
If there's a problem calling expose_streams() in the downloading thread, we
should work out what it is. Can you explain how / when it goes wrong for you?

The problem with your patch is that it a) calls expose_streams() from the main
thread and then b) that blocks until all the pads complete preroll anyway
(preroll_pending reaches 0).

There's no way to know how long that might block - with a slow internet
connection it could be a very long time. The call to expose_streams has to
happen from the streaming thread IMO - or we could use an auxilliary thread if
there's really no way to make that reliable.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list