Diffstat (limited to 'noncore/multimedia/opieplayer2/lib.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/lib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.h b/noncore/multimedia/opieplayer2/lib.h index 1d0d3af..d568a32 100644 --- a/noncore/multimedia/opieplayer2/lib.h +++ b/noncore/multimedia/opieplayer2/lib.h @@ -94,2 +94,5 @@ namespace XINE { private: + int m_bytes_per_pixel; + bool m_video:1; + XineVideoWidget *m_wid; xine_t *m_xine; @@ -100,4 +103,7 @@ namespace XINE { void handleXineEvent( xine_event_t* t ); + void drawFrame( uint8_t* frame, int width, int height, int bytes ); // C -> C++ bridge for the event system static void xine_event_handler( void* user_data, xine_event_t* t); + static void xine_display_frame( void* user_data, uint8_t* frame , + int width, int height, int bytes ); }; |