[vlc-devel] [PATCH] Handling prefered language in AsfSelectStream Better, bitrate sort and select algo Tested with asf containing 3, Videos and 24 Lang...
remi at remlab.net
Thu Jul 18 08:51:51 CEST 2013
On Thu, 18 Jul 2013 02:28:00 +0200, Denis Charmet <typx at dinauz.org> wrote:
> Imho, stream selection is the responsibility of the core and the user,
> That's why I think that your use case needs a core evolution instead of
> workaround. I'll try to think of a longer-lasting solution.
What's wrong with the existing DEMUX_SET_GROUP or ES_OUT_GET_ES_STATE? If
you really do not like to poll ES_OUT_GET_ES_STATE from pf_demux, then it
might be posible to add a DEMUX_SET_ES_STATE, but I am not sure about the
As for MMS, keep in mind that the input thread cannot call the access
instance directly. In particular, the access is not reentrant and it might
run in another thread due to stream filters. Besides, track identifier are
format-specific. So I think format-specific controls are unavoidable. For
MPEG-TS, there is ACCESS_SET_PRIVATE_ID_STATE. But there is plenty of space
in access_query_e for new controls.
Sent from my collocated server
More information about the vlc-devel