About default track selection

Tim Müller tim at centricular.com
Mon Dec 5 06:55:04 UTC 2016


On Mon, 2016-12-05 at 12:45 +0900, Seungha Yang wrote:

Hi,

> I have a question about default track selection on playbin.
> Defined GstStreamFlags API includes GST_STREAM_FLAG_{SELECT,
> UNSELECT}.
> The description is saying that, the flags indicate which track should
> be
> default track and should not, respectively.
> However, nobody check them, but they were set in qtdemux and
> matroska-demux.
> In that context, my question is that,
> - Should application check them for default track selection?
> - Or, should playbin (or more child layer such as 
> inputselector/decodebin) do? (but not implemented yet)

I think playbin/decodebin should look at these to select the initial
streams if the application hasn't made a selection already.

https://bugzilla.gnome.org/show_bug.cgi?id=695968 is related.

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com


More information about the gstreamer-devel mailing list