Mercurial > mplayer.hg
annotate stream/stream_dvdnav.h @ 20770:289050a24c39
Remove some DivX 4 leftovers.
author | diego |
---|---|
date | Wed, 08 Nov 2006 17:37:50 +0000 |
parents | a11a208925b9 |
children | 7ecd9de03435 |
rev | line source |
---|---|
19302 | 1 #ifndef _MPLAYER_DVDNAV_STREAM_H |
2 #define _MPLAYER_DVDNAV_STREAM_H | |
3 | |
4 #include <dvdnav.h> | |
5 | |
6 typedef struct { | |
7 int event; /* event number fromd dvdnav_events.h */ | |
8 void * details; /* event details */ | |
9 int len; /* bytes in details */ | |
10 } dvdnav_event_t; | |
11 | |
12 typedef struct { | |
13 dvdnav_t * dvdnav; /* handle to libdvdnav stuff */ | |
14 char * filename; /* path */ | |
15 int ignore_timers; /* should timers be skipped? */ | |
16 int sleeping; /* are we sleeping? */ | |
17 unsigned int sleep_until; /* timer */ | |
18 int started; /* Has mplayer initialization finished? */ | |
19 unsigned char prebuf[STREAM_BUFFER_SIZE]; /* prefill buffer */ | |
20 int prelen; /* length of prefill buffer */ | |
19453
087d4a916ea3
implemented STREAM_CTRL_GET_TIME_LENGTH (duration of the pgc playing)
nicodvb
parents:
19302
diff
changeset
|
21 unsigned int duration; /* in milliseconds */ |
19912
3fdb44285fe7
introduced new MP_CMD_DVDNAV_MOUSECLICK command (bound to mouse0);
nicodvb
parents:
19851
diff
changeset
|
22 int mousex, mousey; |
20405
a11a208925b9
don't play any other title other than N when N is specified (with dvdnav://N)
nicodvb
parents:
19913
diff
changeset
|
23 int title; |
19302 | 24 } dvdnav_priv_t; |
25 | |
26 extern int dvd_nav_still; | |
27 extern int dvd_nav_skip_opening; | |
28 extern char dvd_nav_text[50]; | |
29 extern int osd_show_dvd_nav_delay; | |
30 extern int osd_show_dvd_nav_highlight; | |
31 extern int osd_show_dvd_nav_sx; | |
32 extern int osd_show_dvd_nav_ex; | |
33 extern int osd_show_dvd_nav_sy; | |
34 extern int osd_show_dvd_nav_ey; | |
35 | |
19774
109e241c0cca
in mp_dvdnav_handle_input() assign the currently selected button, shown in the OSD by main()
nicodvb
parents:
19768
diff
changeset
|
36 int mp_dvdnav_handle_input(stream_t *stream, int cmd, int *button); |
19851
adfd08588514
report mouse coordinates after movement to dvdnav; this permits to enable button selection using the mouse; patch by Jonas Jermann and me
nicodvb
parents:
19774
diff
changeset
|
37 void mp_dvdnav_update_mouse_pos(stream_t *stream, int32_t x, int32_t y, int* button); |
19302 | 38 |
39 #endif |