From eec1ff5f27dd6933ad3d009aa7a063f6ecaef84a Mon Sep 17 00:00:00 2001 From: pontscho Date: Wed, 21 Nov 2001 17:43:57 +0000 Subject: add half dvd support for gui git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3055 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/mplayer/play.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'Gui/mplayer/play.h') 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; -- cgit v1.2.3