-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 cf7dcb2..eba837e 100644 --- a/noncore/multimedia/opieplayer2/xinecontrol.cpp +++ b/noncore/multimedia/opieplayer2/xinecontrol.cpp @@ -92,17 +92,21 @@ void XineControl::stop( bool isSet ) { } } /** * Pause playback * @isSet */ void XineControl::pause( bool isSet) { + if (isSet) { libXine->pause(); + } else { + libXine->play( m_fileName, 0, m_currentTime); + } } /** * get current time in playback */ long XineControl::currentTime() { // todo: jede sekunde überprüfen |