summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer/play.h
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-21 17:43:57 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-21 17:43:57 +0000
commiteec1ff5f27dd6933ad3d009aa7a063f6ecaef84a (patch)
treef2b8f0189778ec261635bb9add583f78b2cbc6b7 /Gui/mplayer/play.h
parent86bb2b4db5d4958a3ccde42ebf8cb69d56c1c194 (diff)
downloadmpv-eec1ff5f27dd6933ad3d009aa7a063f6ecaef84a.tar.bz2
mpv-eec1ff5f27dd6933ad3d009aa7a063f6ecaef84a.tar.xz
add half dvd support for gui
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3055 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/play.h')
-rw-r--r--Gui/mplayer/play.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/Gui/mplayer/play.h b/Gui/mplayer/play.h
index 4b75969374..37b9949d36 100644
--- a/Gui/mplayer/play.h
+++ b/Gui/mplayer/play.h
@@ -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 @@ typedef struct
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;