[MPlayer-dev-eng] [PATCH] subtitle alignment

Oskar Liljeblad oskar at osk.mine.nu
Sat Dec 21 17:59:45 CET 2002


On Saturday, December 21, 2002 at 17:41, Oskar Liljeblad wrote:
[..]
> diff -u input/input.h.v0 input/input.h
> --- input/input.h.v0	2002-12-19 11:09:42.000000000 +0100
> +++ input/input.h	2002-12-21 16:56:43.000000000 +0100
> @@ -37,6 +37,7 @@
>  #define MP_CMD_GET_TIME_LENGTH 34
>  #define MP_CMD_GET_PERCENT_POS 35
>  #define MP_CMD_SUB_STEP 36
> +#define MP_CMD_SUB_ALIGNMENT 37
>  
>  #define MP_CMD_GUI_EVENTS       5000
>  #define MP_CMD_GUI_LOADFILE     5001

Apparently MP_CMD_TV_SET_CHANNEL is defined to 37 already
in input.h, so MP_CMD_SUB_ALIGNMENT has to be changed to 38...
I guess this is what you get for not using enums. :)

Oskar (oskar at osk.mine.nu)



More information about the MPlayer-dev-eng mailing list