diff 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
line wrap: on
line diff
--- a/stream/stream_dvdnav.c	Mon Dec 31 16:15:50 2007 +0000
+++ b/stream/stream_dvdnav.c	Tue Jan 01 17:01:03 2008 +0000
@@ -10,6 +10,7 @@
 #include "input/input.h"
 #include "stream.h"
 #include "libmpdemux/demuxer.h"
+#include <dvdnav.h>
 #include "stream_dvdnav.h"
 #include "libvo/video_out.h"
 #include "libavutil/common.h"
@@ -18,6 +19,16 @@
 #include "m_struct.h"
 #include "help_mp.h"
 
+typedef struct {
+  dvdnav_t *       dvdnav;              /* handle to libdvdnav stuff */
+  char *           filename;            /* path */
+  unsigned int     duration;            /* in milliseconds */
+  int              mousex, mousey;
+  int              title;
+  unsigned int     spu_clut[16], spu_set;
+  dvdnav_highlight_event_t hlev;
+} dvdnav_priv_t;
+
 extern char *dvd_device;
 extern int dvd_chapter;
 extern int dvd_last_chapter;