view sub_cc.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 f580a7755ac5
children 3baf6a2283da
line wrap: on
line source

#ifndef SUB_CC_H
#define SUB_CC_H

extern int subcc_enabled;

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

#endif /*SUB_CC_H*/