Diffstat (limited to 'noncore/multimedia/opieplayer2/lib.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.h b/noncore/multimedia/opieplayer2/lib.h index 7e3a912..9dd7385 100644 --- a/noncore/multimedia/opieplayer2/lib.h +++ b/noncore/multimedia/opieplayer2/lib.h | |||
@@ -172,45 +172,46 @@ namespace XINE { | |||
172 | * Returns the error code | 172 | * Returns the error code |
173 | * XINE_ERROR_NONE 0 | 173 | * XINE_ERROR_NONE 0 |
174 | * XINE_ERROR_NO_INPUT_PLUGIN 1 | 174 | * XINE_ERROR_NO_INPUT_PLUGIN 1 |
175 | * XINE_ERROR_NO_DEMUXER_PLUGIN 2 | 175 | * XINE_ERROR_NO_DEMUXER_PLUGIN 2 |
176 | * XINE_ERROR_DEMUXER_FAILED 3 | 176 | * XINE_ERROR_DEMUXER_FAILED 3 |
177 | */ | 177 | */ |
178 | int error() const; | 178 | int error() const; |
179 | 179 | ||
180 | signals: | 180 | signals: |
181 | 181 | ||
182 | void stopped(); | 182 | void stopped(); |
183 | 183 | ||
184 | void initialized(); | 184 | void initialized(); |
185 | 185 | ||
186 | protected: | 186 | protected: |
187 | virtual void receiveMessage( ThreadUtil::ChannelMessage *msg, SendType sendType ); | 187 | virtual void receiveMessage( ThreadUtil::ChannelMessage *msg, SendType sendType ); |
188 | 188 | ||
189 | virtual void run(); | 189 | virtual void run(); |
190 | 190 | ||
191 | private: | 191 | private: |
192 | void initialize(); | 192 | void initialize(); |
193 | 193 | ||
194 | int m_bytes_per_pixel; | 194 | int m_bytes_per_pixel; |
195 | bool m_initialized:1; | 195 | bool m_initialized:1; |
196 | bool m_duringInitialization:1; | ||
196 | bool m_video:1; | 197 | bool m_video:1; |
197 | XineVideoWidget *m_wid; | 198 | XineVideoWidget *m_wid; |
198 | xine_t *m_xine; | 199 | xine_t *m_xine; |
199 | xine_stream_t *m_stream; | 200 | xine_stream_t *m_stream; |
200 | xine_cfg_entry_t *m_config; | 201 | xine_cfg_entry_t *m_config; |
201 | xine_vo_driver_t *m_videoOutput; | 202 | xine_vo_driver_t *m_videoOutput; |
202 | xine_ao_driver_t* m_audioOutput; | 203 | xine_ao_driver_t* m_audioOutput; |
203 | xine_event_queue_t *m_queue; | 204 | xine_event_queue_t *m_queue; |
204 | 205 | ||
205 | void handleXineEvent( const xine_event_t* t ); | 206 | void handleXineEvent( const xine_event_t* t ); |
206 | void handleXineEvent( int type ); | 207 | void handleXineEvent( int type ); |
207 | void drawFrame( uint8_t* frame, int width, int height, int bytes ); | 208 | void drawFrame( uint8_t* frame, int width, int height, int bytes ); |
208 | // C -> C++ bridge for the event system | 209 | // C -> C++ bridge for the event system |
209 | static void xine_event_handler( void* user_data, const xine_event_t* t); | 210 | static void xine_event_handler( void* user_data, const xine_event_t* t); |
210 | static void xine_display_frame( void* user_data, uint8_t* frame , | 211 | static void xine_display_frame( void* user_data, uint8_t* frame , |
211 | int width, int height, int bytes ); | 212 | int width, int height, int bytes ); |
212 | }; | 213 | }; |
213 | }; | 214 | }; |
214 | 215 | ||
215 | 216 | ||
216 | #endif | 217 | #endif |