mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
moved combined vobsub_lang into sub_select
add support for dvd subs and ogg subs into sub_select document sub_select vobsub_lang left as a link to sub_select for backwards compatibility git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13090 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -77,7 +77,7 @@ static mp_cmd_t mp_cmds[] = {
|
||||
{ MP_CMD_SUB_POS, "sub_pos", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } },
|
||||
{ MP_CMD_SUB_ALIGNMENT, "sub_alignment",0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } },
|
||||
{ MP_CMD_SUB_VISIBILITY, "sub_visibility", 0, { {-1,{0}} } },
|
||||
{ MP_CMD_VOBSUB_LANG, "vobsub_lang", 0, { {-1,{0}} } },
|
||||
{ MP_CMD_SUB_SELECT, "vobsub_lang", 0, { {-1,{0}} } }, // for compatibility
|
||||
{ MP_CMD_SUB_SELECT, "sub_select", 0, { {-1,{0}} } },
|
||||
{ MP_CMD_GET_PERCENT_POS, "get_percent_pos", 0, { {-1,{0}} } },
|
||||
{ MP_CMD_GET_TIME_LENGTH, "get_time_length", 0, { {-1,{0}} } },
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#define MP_CMD_VF_CHANGE_RECTANGLE 28
|
||||
#define MP_CMD_GAMMA 29
|
||||
#define MP_CMD_SUB_VISIBILITY 30
|
||||
#define MP_CMD_VOBSUB_LANG 31
|
||||
// #define MP_CMD_VOBSUB_LANG 31 // combined with SUB_SELECT
|
||||
#define MP_CMD_MENU 32
|
||||
#define MP_CMD_SET_MENU 33
|
||||
#define MP_CMD_GET_TIME_LENGTH 34
|
||||
|
||||
Reference in New Issue
Block a user