Mercurial > mplayer.hg
comparison gui/interface.h @ 33774:474ffcdcc6e7
Change guiInterface_t void pointer member declarations.
Declare the members with their appropriate types.
Additionally, remove needless cast then and remove unnecessary
#ifdef CONFIG_DVDREAD.
author | ib |
---|---|
date | Sun, 10 Jul 2011 11:51:25 +0000 |
parents | a3983d2c9106 |
children | b42abb9c7f2c |
comparison
equal
deleted
inserted
replaced
33773:a3983d2c9106 | 33774:474ffcdcc6e7 |
---|---|
18 | 18 |
19 #ifndef MPLAYER_GUI_INTERFACE_H | 19 #ifndef MPLAYER_GUI_INTERFACE_H |
20 #define MPLAYER_GUI_INTERFACE_H | 20 #define MPLAYER_GUI_INTERFACE_H |
21 | 21 |
22 #include "config.h" | 22 #include "config.h" |
23 #include "libaf/af.h" | |
24 #include "libmpdemux/stheader.h" | |
23 #include "m_config.h" | 25 #include "m_config.h" |
26 #include "mp_core.h" | |
24 #include "playtree.h" | 27 #include "playtree.h" |
25 #include "stream/stream.h" | 28 #include "stream/stream.h" |
26 | 29 |
27 // These are in support of the non-GUI files that interact with | 30 // These are in support of the non-GUI files that interact with |
28 // the GUI and that only need to include interface.h for this. | 31 // the GUI and that only need to include interface.h for this. |
74 MPLAYER_SET_PANSCAN, | 77 MPLAYER_SET_PANSCAN, |
75 MPLAYER_SET_SATURATION, | 78 MPLAYER_SET_SATURATION, |
76 MPLAYER_SET_SUB_ENCODING | 79 MPLAYER_SET_SUB_ENCODING |
77 }; | 80 }; |
78 | 81 |
79 #ifdef CONFIG_DVDREAD | |
80 typedef struct { | 82 typedef struct { |
81 int titles; | 83 int titles; |
82 int chapters; | 84 int chapters; |
83 int angles; | 85 int angles; |
84 int current_chapter; | 86 int current_chapter; |
87 int nr_of_audio_channels; | 89 int nr_of_audio_channels; |
88 stream_language_t audio_streams[32]; | 90 stream_language_t audio_streams[32]; |
89 int nr_of_subtitles; | 91 int nr_of_subtitles; |
90 stream_language_t subtitles[32]; | 92 stream_language_t subtitles[32]; |
91 } guiDVDStruct; | 93 } guiDVDStruct; |
92 #endif | |
93 | 94 |
94 typedef struct { | 95 typedef struct { |
95 struct MPContext *mpcontext; | 96 MPContext *mpcontext; |
96 void *sh_video; | 97 sh_video_t *sh_video; |
97 void *afilter; | 98 af_stream_t *afilter; |
98 | 99 |
99 int DiskChanged; | 100 int DiskChanged; |
100 int NewPlay; | 101 int NewPlay; |
101 | 102 |
102 #ifdef CONFIG_DVDREAD | 103 #ifdef CONFIG_DVDREAD |