Mercurial > mplayer.hg
comparison input/input.h @ 25129:c04b64054255
Support select subtitle by source, add 4 properties:
1. sub_source for current sub source (sub file, vobsub, or from demuxer).
2. sub_file for all subtitles from files.
3. sub_vobsub for all subtitles from vobsub.
4. sub_demux for all subtitles from demuxer.
Now mplayer can supply a stable and clear interface to external programs
using mplayer in slave mode to select a subtitle by its source and
its unique id for that source printed by mplayer using -identify parameter.
author | ulion |
---|---|
date | Sun, 25 Nov 2007 04:09:04 +0000 |
parents | 9f234010c4be |
children | 96d0992c7920 |
comparison
equal
deleted
inserted
replaced
25128:b3aa123be8f5 | 25129:c04b64054255 |
---|---|
97 #define MP_CMD_BALANCE 96 | 97 #define MP_CMD_BALANCE 96 |
98 #define MP_CMD_SUB_SCALE 97 | 98 #define MP_CMD_SUB_SCALE 97 |
99 #define MP_CMD_TV_TELETEXT_ADD_DEC 98 | 99 #define MP_CMD_TV_TELETEXT_ADD_DEC 98 |
100 #define MP_CMD_TV_TELETEXT_GO_LINK 99 | 100 #define MP_CMD_TV_TELETEXT_GO_LINK 99 |
101 #define MP_CMD_TV_START_SCAN 100 | 101 #define MP_CMD_TV_START_SCAN 100 |
102 #define MP_CMD_SUB_SOURCE 101 | |
103 #define MP_CMD_SUB_FILE 102 | |
104 #define MP_CMD_SUB_VOB 103 | |
105 #define MP_CMD_SUB_DEMUX 104 | |
102 | 106 |
103 #define MP_CMD_GUI_EVENTS 5000 | 107 #define MP_CMD_GUI_EVENTS 5000 |
104 #define MP_CMD_GUI_LOADFILE 5001 | 108 #define MP_CMD_GUI_LOADFILE 5001 |
105 #define MP_CMD_GUI_LOADSUBTITLE 5002 | 109 #define MP_CMD_GUI_LOADSUBTITLE 5002 |
106 #define MP_CMD_GUI_ABOUT 5003 | 110 #define MP_CMD_GUI_ABOUT 5003 |