view mpcommon.h @ 24022:4d576e0ed40b

When a new subtitle stream becomes available check if it is the one that was requested by the user and set up sub->id and sub->sh accordingly. Fixes -slang and -sid with DVD subtitles (basically only 'j' during playback could make them show). This was broken by r23786.
author reimar
date Thu, 09 Aug 2007 10:26:00 +0000
parents 5bf6c178f09a
children 0491b2db2777
line wrap: on
line source

extern double sub_last_pts;
#ifdef USE_ASS
extern ass_track_t *ass_track;
#endif
extern sub_data *subdata;
extern subtitle *vo_sub_last;
void update_subtitles(sh_video_t *sh_video, demux_stream_t *d_dvdsub, int reset);