comparison stream/stream_dvdnav.c @ 25536:a7eec00ebb9c

private structures belong to the C file using them, not to header files included somewhere else
author nicodvb
date Tue, 01 Jan 2008 17:01:03 +0000
parents e91e3944c07d
children 47f2a9304623
comparison
equal deleted inserted replaced
25535:3baf6a2283da 25536:a7eec00ebb9c
8 #include "mp_msg.h" 8 #include "mp_msg.h"
9 #include "osdep/timer.h" 9 #include "osdep/timer.h"
10 #include "input/input.h" 10 #include "input/input.h"
11 #include "stream.h" 11 #include "stream.h"
12 #include "libmpdemux/demuxer.h" 12 #include "libmpdemux/demuxer.h"
13 #include <dvdnav.h>
13 #include "stream_dvdnav.h" 14 #include "stream_dvdnav.h"
14 #include "libvo/video_out.h" 15 #include "libvo/video_out.h"
15 #include "libavutil/common.h" 16 #include "libavutil/common.h"
16 #include "spudec.h" 17 #include "spudec.h"
17 #include "m_option.h" 18 #include "m_option.h"
18 #include "m_struct.h" 19 #include "m_struct.h"
19 #include "help_mp.h" 20 #include "help_mp.h"
21
22 typedef struct {
23 dvdnav_t * dvdnav; /* handle to libdvdnav stuff */
24 char * filename; /* path */
25 unsigned int duration; /* in milliseconds */
26 int mousex, mousey;
27 int title;
28 unsigned int spu_clut[16], spu_set;
29 dvdnav_highlight_event_t hlev;
30 } dvdnav_priv_t;
20 31
21 extern char *dvd_device; 32 extern char *dvd_device;
22 extern int dvd_chapter; 33 extern int dvd_chapter;
23 extern int dvd_last_chapter; 34 extern int dvd_last_chapter;
24 extern int dvd_angle; 35 extern int dvd_angle;