[Bug 775615] decodebin3: Select default track by GstStreamFlags

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jan 24 05:37:48 UTC 2017


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

--- Comment #3 from HoonHee Lee <hoonh83.lee at gmail.com> ---
Hello All
Decodebin3 has multiple parsebins as following.
----------------------------------
parsebin0 <= one video stream (e.g. stream-id: video-1, flag:
GST_STREAM_FLAG_NONE)
parsebin1 <= one audio stream (e.g. stream-id: audio-1, flag:
GST_STREAM_FLAG_NONE)
parsebin2 <= one audio stream (e.g. stream-id: audio-2, flag:
GST_STREAM_FLAG_SELECT)
----------------------------------

Actually, below is test stream.
==>
http://hls-streamer2-dev.minutv.ee/2d6870d65cd1b616ec04c107288081a9_1467970545web/vod/indur_test_lg/index.m3u8

Let's pretend that parsebin2's audio stream is default audio track.
In this case 'stream-collection' msg is posted by each parsebins and total is 3
times.
Last collection is from parsebin2 and stream(audio-2) can not be selected and
can not be added 'requested-selection' list.
Because, stream(audio-1) is already inserted to 'requested-selection' list.

Thus, I remove stream(audio-1) to 'requested-selection' list and add
stream(audio-2) to the list.

Please review our patch.
Thanks.

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