[Bug 775132] adaptivedemux: Download fragment only for activated stream

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jun 14 05:14:34 UTC 2018


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

--- Comment #54 from Edward Hervey <bilboed at bilboed.com> ---
(In reply to Seungha Yang from comment #53)
> Thans for this information.
> The most tricky part for me is that, there is no explicit way to inform
> decodebin3 of upstream element's stream change.

  Exactly. And my new API introduces a new (out-of-band) STREAMS_SELECTED
event. Which is roughly the same idea as GST_MESSAGE_STREAMS_SELECTED except in
the data-stream. 

> 
> When adpativedemux got select-stream event (whatever the way of forwarding
> upstream select-stream event to adaptivedemux), decodebin3 requires the
> selected stream's configuration (most likely this might be the point of new
> API will work) in order to switch decodebin3's active slot as soon as
> possible. To do this without new API, I tried EOS based approach (sending
> EOS to old stream by adaptivedemux) but it's not a solution since it's
> sticky event and there might be some queued buffers between adaptivedemux
> and decodebin3 (i.e., queue2 in urisourcebin, multiqueue in decodebin3)

  And that's why we need this new event and why it's out-of-band :)

  I should be able to post my initial API/design next week. Will keep you
updated.

-- 
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