summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/lib.cpp
Unidiff
Diffstat (limited to 'noncore/multimedia/opieplayer2/lib.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/lib.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.cpp b/noncore/multimedia/opieplayer2/lib.cpp
index 1ebbbd8..19b64e8 100644
--- a/noncore/multimedia/opieplayer2/lib.cpp
+++ b/noncore/multimedia/opieplayer2/lib.cpp
@@ -198,13 +198,14 @@ int Lib::length() {
198bool Lib::isSeekable() { 198bool Lib::isSeekable() {
199 return xine_get_stream_info( m_stream, XINE_STREAM_INFO_SEEKABLE ); 199 return xine_get_stream_info( m_stream, XINE_STREAM_INFO_SEEKABLE );
200} 200}
201 201
202void Lib::seekTo( int time ) { 202void Lib::seekTo( int time ) {
203 //xine_trick_mode ( m_stream, XINE_TRICK_MODE_SEEK_TO_TIME, time ); NOT IMPLEMENTED YET IN XINE :_( 203 //xine_trick_mode ( m_stream, XINE_TRICK_MODE_SEEK_TO_TIME, time ); NOT IMPLEMENTED YET IN XINE :_(
204 xine_play( m_stream, 0, time ); 204 // since its now milliseconds we need *1000
205 xine_play( m_stream, 0, time*1000 );
205} 206}
206 207
207 208
208Frame Lib::currentFrame() { 209Frame Lib::currentFrame() {
209 Frame frame; 210 Frame frame;
210 return frame; 211 return frame;