summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/lib.h
Unidiff
Diffstat (limited to 'noncore/multimedia/opieplayer2/lib.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.h b/noncore/multimedia/opieplayer2/lib.h
index 6363918..7e3a912 100644
--- a/noncore/multimedia/opieplayer2/lib.h
+++ b/noncore/multimedia/opieplayer2/lib.h
@@ -171,45 +171,46 @@ namespace XINE {
171 /** 171 /**
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_video:1; 196 bool m_video:1;
196 XineVideoWidget *m_wid; 197 XineVideoWidget *m_wid;
197 xine_t *m_xine; 198 xine_t *m_xine;
198 xine_stream_t *m_stream; 199 xine_stream_t *m_stream;
199 xine_cfg_entry_t *m_config; 200 xine_cfg_entry_t *m_config;
200 xine_vo_driver_t *m_videoOutput; 201 xine_vo_driver_t *m_videoOutput;
201 xine_ao_driver_t* m_audioOutput; 202 xine_ao_driver_t* m_audioOutput;
202 xine_event_queue_t *m_queue; 203 xine_event_queue_t *m_queue;
203 204
204 void handleXineEvent( const xine_event_t* t ); 205 void handleXineEvent( const xine_event_t* t );
205 void handleXineEvent( int type ); 206 void handleXineEvent( int type );
206 void drawFrame( uint8_t* frame, int width, int height, int bytes ); 207 void drawFrame( uint8_t* frame, int width, int height, int bytes );
207 // C -> C++ bridge for the event system 208 // C -> C++ bridge for the event system
208 static void xine_event_handler( void* user_data, const xine_event_t* t); 209 static void xine_event_handler( void* user_data, const xine_event_t* t);
209 static void xine_display_frame( void* user_data, uint8_t* frame , 210 static void xine_display_frame( void* user_data, uint8_t* frame ,
210 int width, int height, int bytes ); 211 int width, int height, int bytes );
211 }; 212 };
212}; 213};
213 214
214 215
215#endif 216#endif