Diffstat (limited to 'noncore/multimedia/opieplayer2/xinecontrol.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/xinecontrol.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/noncore/multimedia/opieplayer2/xinecontrol.cpp b/noncore/multimedia/opieplayer2/xinecontrol.cpp index d18fde5..0137ae5 100644 --- a/noncore/multimedia/opieplayer2/xinecontrol.cpp +++ b/noncore/multimedia/opieplayer2/xinecontrol.cpp @@ -78,6 +78,4 @@ void XineControl::play( const QString& fileName ) { libXine->play( fileName ); mediaPlayerState->setPlaying( true ); - // default to audio view until we know how to handle video - // MediaDetect mdetect; char whichGui = mdetect.videoOrAudio( fileName ); if (whichGui == 'f') { @@ -85,5 +83,4 @@ void XineControl::play( const QString& fileName ) { return; } - if (whichGui == 'a') { libXine->setShowVideo( false ); @@ -93,5 +90,4 @@ void XineControl::play( const QString& fileName ) { hasVideoChannel=TRUE; } - // determine if slider is shown mediaPlayerState->setIsStreaming( !libXine->isSeekable() ); @@ -123,6 +119,4 @@ void XineControl::stop( bool isSet ) { if ( !isSet) { libXine->stop( ); - mediaPlayerState->setList(); - // mediaPlayerState->setPlaying( false ); #if defined(Q_WS_QWS) && !defined(QT_NO_COP) @@ -134,6 +128,4 @@ void XineControl::stop( bool isSet ) { #endif - } else { - // play again } } |