view sub_cc.h @ 26720:d68c3cd43cd4

Change subtitle selection order by giving "indirect" ways of specifying the desired subtitle track the least priority. Selection of displayed subtitles by language (-slang) and default track attribute is only performed if all other ways have failed. They are not directly controllable by the user (especially default tracks), therefore they should not override -sub, -vobsub and even auto-subs. Based on a patch by Sergey Malkovsky (mplayer.win32_gmail_com).
author eugeni
date Mon, 12 May 2008 20:40:39 +0000
parents 4129c8cfa742
children c1a3f1bbba26
line wrap: on
line source

#ifndef MPLAYER_SUB_CC_H
#define MPLAYER_SUB_CC_H

extern int subcc_enabled;

void subcc_init(void);
void subcc_process_data(unsigned char *inputdata,unsigned int len);

#endif /* MPLAYER_SUB_CC_H */