[Bug 777213] hlsdemux: Re-expose only variant stream with bitrate switching

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Oct 16 01:01:14 UTC 2017


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

--- Comment #9 from Seungha Yang <seungha.yang at navercorp.com> ---
(In reply to tianyahai from comment #7)
> Hi, how about subtitle streams, now my m3u8 file has eight subtitles, it can
> be displayed by playbin, but when i switch to another, the subtitle
> disappeared, why?

AFAIK, subtitle is disabled in current hlsdemux. Need more context such as your
m3u8 and your playbin usecase (playbin or playbin3).


(In reply to tianyahai from comment #8)
> what's the meaning of GST_BIN_FLAG_STREAMS_AWARE? 
> I added GST_BIN_FLAG_STREAMS_AWARE to the code refer according to your
> method, but the value of demux->streams_aware is FALSE, when the code is
> running

You can refer to its meaning at
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBin.html
My understanding about it is that, it's used in playbin3 (not playbin) to
indicate that corresponding element/bin can handle GstStreams API and also can
handle stream add/removal during playback without any interruption.

I guess you are now use playbin (not playbin3). The playbin doesn't use
urisourcebin but do uridecodebin. Please not that my patch aims to set the flag
at urisourcebin and read it by adaptivedemux (this is urisourcebin's child bin)

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