summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/lib.h
Side-by-side diff
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 {
*
*/
void showVideoFullScreen( bool fullScreen );
/**
*
*/
bool isVideoFullScreen()/*const*/ ;
/**
* Get the meta info (like author etc) from the stream
- *
+ * XINE_META_INFO_TITLE 0
+ * XINE_META_INFO_COMMENT 1
+ * XINE_META_INFO_ARTIST 2
+ * XINE_META_INFO_GENRE 3
+ * XINE_META_INFO_ALBUM 4
+ * XINE_META_INFO_YEAR 5
+ * XINE_META_INFO_VIDEOCODEC 6
+ * XINE_META_INFO_AUDIOCODEC 7
+ * XINE_META_INFO_SYSTEMLAYER 8
+ * XINE_META_INFO_INPUT_PLUGIN 9
*/
- QString metaInfo() ;
+ QString metaInfo( int number );
/**
*
*/
bool isScaling();
/**
+ * seek to a position
+ */
+ void seekTo( int time );
+
+ /**
+ *
+ * @return is media stream has video
+ */
+ bool hasVideo();
+
+ /**
*
*/
void setScaling( bool );
/**
* Set the Gamma value for video output
* @param int the value between -100 and 100, 0 is original
*/
void setGamma( int );
/**
* test
*/
Frame currentFrame()/*const*/;
/**
* Returns the error code
+ * XINE_ERROR_NONE 0
+ * XINE_ERROR_NO_INPUT_PLUGIN 1
+ * XINE_ERROR_NO_DEMUXER_PLUGIN 2
+ * XINE_ERROR_DEMUXER_FAILED 3
*/
int error() /*const*/;
signals:
void stopped();
private:
int m_bytes_per_pixel;
int m_length, m_pos, m_time;
int m_major_version, m_minor_version, m_sub_version;
bool m_video:1;
XineVideoWidget *m_wid;
xine_t *m_xine;