summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/xinecontrol.cpp
Unidiff
Diffstat (limited to 'noncore/multimedia/opieplayer2/xinecontrol.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/xinecontrol.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/noncore/multimedia/opieplayer2/xinecontrol.cpp b/noncore/multimedia/opieplayer2/xinecontrol.cpp
index cda9be2..5b674f8 100644
--- a/noncore/multimedia/opieplayer2/xinecontrol.cpp
+++ b/noncore/multimedia/opieplayer2/xinecontrol.cpp
@@ -21,21 +21,24 @@ XineControl::~XineControl() {
21void XineControl::play( const QString& fileName ) { 21void XineControl::play( const QString& fileName ) {
22 libXine->play( fileName ); 22 libXine->play( fileName );
23 mediaPlayerState->setPlaying( true ); 23 mediaPlayerState->setPlaying( true );
24 // default to audio view until we know how to handle video 24 // default to audio view until we know how to handle video
25 mediaPlayerState->setView('a'); 25 mediaPlayerState->setView('a');
26 // determines of slider is shown 26 // determines of slider is shown
27 mediaPlayerState->isStreaming = false; 27 // mediaPlayerState->setIsStreaming( false );
28 // hier dann schaun welcher view 28 // hier dann schaun welcher view
29} 29}
30 30
31void XineControl::stop( bool isSet ) { 31void XineControl::stop( bool isSet ) {
32 if ( isSet) { 32 if ( !isSet) {
33 libXine->stop(); 33 libXine->stop();
34 mediaPlayerState->setNext();
35 //mediaPlayerState->setPlaying( false );
36 } else {
37 // play again
34 } 38 }
35 // mediaPlayerState->setPlaying( false );
36} 39}
37 40
38void XineControl::pause( bool isSet) { 41void XineControl::pause( bool isSet) {
39 42
40 libXine->pause(); 43 libXine->pause();
41} 44}