About default track selection

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

About default track selection

Seungha Yang-3
Hello all

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)


Thanks
Seungha Yang


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: About default track selection

Tim Müller
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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel