diff Gui/mplayer/play.h @ 3054:9507f90d8254

add half dvd support for gui
author pontscho
date Wed, 21 Nov 2001 17:43:57 +0000
parents fd44ecf77f8d
children 93351eec9f1f
line wrap: on
line diff
--- a/Gui/mplayer/play.h	Wed Nov 21 17:07:40 2001 +0000
+++ b/Gui/mplayer/play.h	Wed Nov 21 17:43:57 2001 +0000
@@ -2,9 +2,15 @@
 #ifndef __GUI_PLAY_H
 #define __GUI_PLAY_H
 
+#include "../../config.h"
+
 #include "./psignal.h"
 #include "./mplayer.h"
 
+#ifdef USE_DVDREAD
+ #include "../../libmpdemux/stream.h"
+#endif
+
 typedef struct
 {
  int x;
@@ -28,12 +34,30 @@
  char codecdll[128];
 } mplVideoStruct;
 
+#ifdef USE_DVDREAD
+typedef struct
+{
+ int titles;
+ int chapters;
+ int angles;
+ int current_chapter;
+ int current_title;
+ int nr_of_audio_channels;
+ audio_stream_t audio_streams[8];
+ int nr_of_subtitles;
+ subtitle_t subtitles[32]; 
+} mplDVDStruct;
+#endif
+
 typedef struct
 {
  int message;
    mplResizeStruct      resize;
    mplVideoStruct       videodata;
    mplUnknowErrorStruct error;
+#ifdef USE_DVDREAD
+   mplDVDStruct         DVD;
+#endif
 
    int    Playing;
    float  Position;