Diffstat (limited to 'noncore/multimedia/opieplayer2/lib.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/lib.h | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.h b/noncore/multimedia/opieplayer2/lib.h index b9d0a8a..29adc4d 100644 --- a/noncore/multimedia/opieplayer2/lib.h +++ b/noncore/multimedia/opieplayer2/lib.h | |||
@@ -39,6 +39,7 @@ | |||
39 | #include <qobject.h> | 39 | #include <qobject.h> |
40 | 40 | ||
41 | #include <xine.h> | 41 | #include <xine.h> |
42 | //#include "xine.h" | ||
42 | 43 | ||
43 | class XineVideoWidget; | 44 | class XineVideoWidget; |
44 | 45 | ||
@@ -72,7 +73,17 @@ namespace XINE { | |||
72 | void pause()/*const*/; | 73 | void pause()/*const*/; |
73 | 74 | ||
74 | int speed() /*const*/; | 75 | int speed() /*const*/; |
75 | void setSpeed( int speed = SPEED_PAUSE ); | 76 | |
77 | /** | ||
78 | * Set the speed of the stream, if codec supports it | ||
79 | * XINE_SPEED_PAUSE 0 | ||
80 | * XINE_SPEED_SLOW_4 1 | ||
81 | * XINE_SPEED_SLOW_2 2 | ||
82 | * XINE_SPEED_NORMAL 4 | ||
83 | * XINE_SPEED_FAST_2 8 | ||
84 | *XINE_SPEED_FAST_4 16 | ||
85 | */ | ||
86 | void setSpeed( int speed = XINE_SPEED_PAUSE ); | ||
76 | 87 | ||
77 | int status() /*const*/; | 88 | int status() /*const*/; |
78 | 89 | ||
@@ -103,6 +114,13 @@ namespace XINE { | |||
103 | */ | 114 | */ |
104 | bool isVideoFullScreen()/*const*/ ; | 115 | bool isVideoFullScreen()/*const*/ ; |
105 | 116 | ||
117 | |||
118 | /** | ||
119 | * Get the meta info (like author etc) from the stream | ||
120 | * | ||
121 | */ | ||
122 | QString metaInfo() ; | ||
123 | |||
106 | /** | 124 | /** |
107 | * | 125 | * |
108 | */ | 126 | */ |
@@ -133,12 +151,14 @@ namespace XINE { | |||
133 | void stopped(); | 151 | void stopped(); |
134 | private: | 152 | private: |
135 | int m_bytes_per_pixel; | 153 | int m_bytes_per_pixel; |
154 | int m_length, m_pos, m_time; | ||
155 | int m_major_version, m_minor_version, m_sub_version; | ||
136 | bool m_video:1; | 156 | bool m_video:1; |
137 | XineVideoWidget *m_wid; | 157 | XineVideoWidget *m_wid; |
138 | xine_t *m_xine; | 158 | xine_t *m_xine; |
139 | config_values_t *m_config; | 159 | xine_cfg_entry_t *m_config; |
140 | vo_driver_t *m_videoOutput; | 160 | xine_vo_driver_t *m_videoOutput; |
141 | ao_driver_t* m_audioOutput; | 161 | xine_ao_driver_t* m_audioOutput; |
142 | 162 | ||
143 | void handleXineEvent( xine_event_t* t ); | 163 | void handleXineEvent( xine_event_t* t ); |
144 | void drawFrame( uint8_t* frame, int width, int height, int bytes ); | 164 | void drawFrame( uint8_t* frame, int width, int height, int bytes ); |