Mercurial > mplayer.hg
view input/mouse.h @ 7358:bb40478265df
I experienced several segfaults when trying to play (unencrypted) DVDs
from harddisk using xine/ogle/mplayer with the respective libdvdnav
support feature.
I found that while libdvdnav itself may do something wrong by trying
to read beyond the end of the files, it was actually the fault of libdvdread
that a segfault resulted. The following tiny patch fixes the problem
and it seems that libdvdnav can very well live with the "short read"
result it gets then - navigation worked fine after applying the patch:
patch by Peter Niemayer <niemayer@isg.de> & H}kan Hjort <d95hjort@dtek.chalmers.se>
author | arpi |
---|---|
date | Tue, 10 Sep 2002 20:33:31 +0000 |
parents | 610a11e4db36 |
children | 62d979592493 |
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)