Mercurial > mplayer.hg
view sub_cc.h @ 28368:c616bf5d520b
command.c: Fix some commands crashing during audio-only playback
The SWITCH_RATIO and VF_CHANGE_RECTANGLE cases crashed if the user
gave those commands when there was no video stream. Make them no-op
instead.
Patch by ShadowJK
author | uau |
---|---|
date | Sat, 31 Jan 2009 01:09:49 +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 */