comparison 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
comparison
equal deleted inserted replaced
36681:c3962450b00b 36682:68794f2fbf1e
73 void print_version(const char* name); 73 void print_version(const char* name);
74 void init_vo_spudec(struct stream *stream, struct sh_video *sh_video, struct sh_sub *sh_sub); 74 void init_vo_spudec(struct stream *stream, struct sh_video *sh_video, struct sh_sub *sh_sub);
75 void update_subtitles(struct sh_video *sh_video, double refpts, demux_stream_t *d_dvdsub, int reset); 75 void update_subtitles(struct sh_video *sh_video, double refpts, demux_stream_t *d_dvdsub, int reset);
76 void update_teletext(struct sh_video *sh_video, demuxer_t *demuxer, int reset); 76 void update_teletext(struct sh_video *sh_video, demuxer_t *demuxer, int reset);
77 int select_audio(demuxer_t* demuxer, int audio_id, char* audio_lang); 77 int select_audio(demuxer_t* demuxer, int audio_id, char* audio_lang);
78 int select_video(demuxer_t* demuxer, int video_id);
78 void set_osd_subtitle(subtitle *subs); 79 void set_osd_subtitle(subtitle *subs);
79 80
80 int cfg_inc_verbose(m_option_t *conf); 81 int cfg_inc_verbose(m_option_t *conf);
81 int cfg_include(m_option_t *conf, const char *filename); 82 int cfg_include(m_option_t *conf, const char *filename);
82 83