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, 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 | |||
@@ -117,9 +117,18 @@ namespace XINE { | |||
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 | * |
@@ -127,6 +136,17 @@ namespace XINE { | |||
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 ); |
@@ -144,6 +164,10 @@ namespace XINE { | |||
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 | ||