Mercurial > mplayer.hg
diff mpcommon.h @ 36682:68794f2fbf1e
Add support for default of multiple video tracks.
Some container formats like matroska support multiple video tracks, one
of which may be flagged the 'default' one which thus should be played by
default.
Works with the lavf demuxer.
author | ib |
---|---|
date | Sun, 02 Feb 2014 19:18:31 +0000 |
parents | 3edaed3c1d60 |
children |
line wrap: on
line diff
--- a/mpcommon.h Sun Feb 02 10:54:37 2014 +0000 +++ b/mpcommon.h Sun Feb 02 19:18:31 2014 +0000 @@ -75,6 +75,7 @@ void update_subtitles(struct sh_video *sh_video, double refpts, demux_stream_t *d_dvdsub, int reset); void update_teletext(struct sh_video *sh_video, demuxer_t *demuxer, int reset); int select_audio(demuxer_t* demuxer, int audio_id, char* audio_lang); +int select_video(demuxer_t* demuxer, int video_id); void set_osd_subtitle(subtitle *subs); int cfg_inc_verbose(m_option_t *conf);