Mercurial > mplayer.hg
view input/mouse.h @ 25509:1cfa39a320cc
Fix update_subtitles() checking subtitle type for the wrong track.
update_subtitles() uses 'type' field from d_dvdsub even when some other track
is active. For this reason, external vobsub is not displayed when there is at
least one text track from demuxer (type is always 't' or 'a' in this case).
The solution is to check vobsub_id and dvdsub_id instead.
author | eugeni |
---|---|
date | Fri, 28 Dec 2007 20:57:38 +0000 |
parents | 62d979592493 |
children | 6ac1ece1f9fe |
line wrap: on
line source
#define MOUSE_BASE ((0x100+256)|MP_NO_REPEAT_KEY) #define MOUSE_BTN0 (MOUSE_BASE+0) #define MOUSE_BTN1 (MOUSE_BASE+1) #define MOUSE_BTN2 (MOUSE_BASE+2) #define MOUSE_BTN3 (MOUSE_BASE+3) #define MOUSE_BTN4 (MOUSE_BASE+4) #define MOUSE_BTN5 (MOUSE_BASE+5) #define MOUSE_BTN6 (MOUSE_BASE+6) #define MOUSE_BTN7 (MOUSE_BASE+7) #define MOUSE_BTN8 (MOUSE_BASE+8) #define MOUSE_BTN9 (MOUSE_BASE+9) #define MOUSE_BASE_DBL (0x300|MP_NO_REPEAT_KEY) #define MOUSE_BTN0_DBL (MOUSE_BASE_DBL+0) #define MOUSE_BTN1_DBL (MOUSE_BASE_DBL+1) #define MOUSE_BTN2_DBL (MOUSE_BASE_DBL+2) #define MOUSE_BTN3_DBL (MOUSE_BASE_DBL+3) #define MOUSE_BTN4_DBL (MOUSE_BASE_DBL+4) #define MOUSE_BTN5_DBL (MOUSE_BASE_DBL+5) #define MOUSE_BTN6_DBL (MOUSE_BASE_DBL+6) #define MOUSE_BTN7_DBL (MOUSE_BASE_DBL+7) #define MOUSE_BTN8_DBL (MOUSE_BASE_DBL+8) #define MOUSE_BTN9_DBL (MOUSE_BASE_DBL+9)