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.h28
1 files changed, 26 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.h b/noncore/multimedia/opieplayer2/lib.h
index 29adc4d..6cdd9c6 100644
--- a/noncore/multimedia/opieplayer2/lib.h
+++ b/noncore/multimedia/opieplayer2/lib.h
@@ -108,51 +108,75 @@ namespace XINE {
108 * 108 *
109 */ 109 */
110 void showVideoFullScreen( bool fullScreen ); 110 void showVideoFullScreen( bool fullScreen );
111 111
112 /** 112 /**
113 * 113 *
114 */ 114 */
115 bool isVideoFullScreen()/*const*/ ; 115 bool isVideoFullScreen()/*const*/ ;
116 116
117 117
118 /** 118 /**
119 * Get the meta info (like author etc) from the stream 119 * Get the meta info (like author etc) from the stream
120 * 120 * XINE_META_INFO_TITLE 0
121 * XINE_META_INFO_COMMENT 1
122 * XINE_META_INFO_ARTIST 2
123 * XINE_META_INFO_GENRE 3
124 * XINE_META_INFO_ALBUM 4
125 * XINE_META_INFO_YEAR 5
126 * XINE_META_INFO_VIDEOCODEC 6
127 * XINE_META_INFO_AUDIOCODEC 7
128 * XINE_META_INFO_SYSTEMLAYER 8
129 * XINE_META_INFO_INPUT_PLUGIN 9
121 */ 130 */
122 QString metaInfo() ; 131 QString metaInfo( int number );
123 132
124 /** 133 /**
125 * 134 *
126 */ 135 */
127 bool isScaling(); 136 bool isScaling();
128 137
129 /** 138 /**
139 * seek to a position
140 */
141 void seekTo( int time );
142
143 /**
144 *
145 * @return is media stream has video
146 */
147 bool hasVideo();
148
149 /**
130 * 150 *
131 */ 151 */
132 void setScaling( bool ); 152 void setScaling( bool );
133 153
134 /** 154 /**
135 * Set the Gamma value for video output 155 * Set the Gamma value for video output
136 * @param int the value between -100 and 100, 0 is original 156 * @param int the value between -100 and 100, 0 is original
137 */ 157 */
138 void setGamma( int ); 158 void setGamma( int );
139 159
140 /** 160 /**
141 * test 161 * test
142 */ 162 */
143 Frame currentFrame()/*const*/; 163 Frame currentFrame()/*const*/;
144 164
145 /** 165 /**
146 * Returns the error code 166 * Returns the error code
167 * XINE_ERROR_NONE 0
168 * XINE_ERROR_NO_INPUT_PLUGIN 1
169 * XINE_ERROR_NO_DEMUXER_PLUGIN 2
170 * XINE_ERROR_DEMUXER_FAILED 3
147 */ 171 */
148 int error() /*const*/; 172 int error() /*const*/;
149 173
150 signals: 174 signals:
151 void stopped(); 175 void stopped();
152 private: 176 private:
153 int m_bytes_per_pixel; 177 int m_bytes_per_pixel;
154 int m_length, m_pos, m_time; 178 int m_length, m_pos, m_time;
155 int m_major_version, m_minor_version, m_sub_version; 179 int m_major_version, m_minor_version, m_sub_version;
156 bool m_video:1; 180 bool m_video:1;
157 XineVideoWidget *m_wid; 181 XineVideoWidget *m_wid;
158 xine_t *m_xine; 182 xine_t *m_xine;