Diffstat (limited to 'noncore/multimedia/opieplayer2/xinecontrol.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/xinecontrol.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/xinecontrol.cpp b/noncore/multimedia/opieplayer2/xinecontrol.cpp index 84ef3f3..17112a2 100644 --- a/noncore/multimedia/opieplayer2/xinecontrol.cpp +++ b/noncore/multimedia/opieplayer2/xinecontrol.cpp @@ -68,6 +68,8 @@ XineControl::~XineControl() { } void XineControl::play( const QString& fileName ) { + hasVideoChannel=FALSE; + hasAudioChannel=FALSE; m_fileName = fileName; libXine->play( fileName ); mediaPlayerState->setPlaying( true ); @@ -81,8 +83,10 @@ void XineControl::play( const QString& fileName ) { if (whichGui == 'a') { libXine->setShowVideo( false ); + hasAudioChannel=TRUE; } else { libXine->setShowVideo( true ); + hasVideoChannel=TRUE; } // determine if slider is shown |