diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-12-23 01:54:58 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-12-23 01:54:58 +0000 |
commit | 8457972ae4c384f274d36c9f1bf4debb7256af23 (patch) | |
tree | b8890bf9bb543fd2abe4baf9273e02eca34f2114 /vobsub.h | |
parent | 725ff339e7093f11e1da39156cf7266dd6582f09 (diff) | |
download | mpv-8457972ae4c384f274d36c9f1bf4debb7256af23.tar.bz2 mpv-8457972ae4c384f274d36c9f1bf4debb7256af23.tar.xz |
Here is the patch to make vobsub subtitle use -slang option, I have not made a
new option for vobsub. Now mplayer will use the setting of slang first, and
then langidx from .idx file, if all failed, no sub.
patch by hephooey@fastmail.fm
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8536 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vobsub.h')
-rw-r--r-- | vobsub.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,6 +13,6 @@ extern char *vobsub_get_id(void * /* vobhandle */, unsigned int /* index */); extern void *vobsub_out_open(const char *basename, const unsigned int *palette, unsigned int orig_width, unsigned int orig_height, const char *id, unsigned int index); extern void vobsub_out_output(void *me, const unsigned char *packet, int len, double pts); extern void vobsub_out_close(void *me); - +extern int vobsub_set_from_lang(void *vobhandle, unsigned char * lang); #endif /* MPLAYER_VOBSUB_H */ |