summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/xinecontrol.cpp
authorsimon <simon>2002-12-09 00:04:09 (UTC)
committer simon <simon>2002-12-09 00:04:09 (UTC)
commit88882051547c9c62f47fb83d87f1341ebccf99a7 (patch) (side-by-side diff)
tree7c5dec3d715b37c5c80fa9c017d55b57cf76cb7b /noncore/multimedia/opieplayer2/xinecontrol.cpp
parent373051a9f8e624e57bac83bb09af1840fef14b4c (diff)
downloadopie-88882051547c9c62f47fb83d87f1341ebccf99a7.zip
opie-88882051547c9c62f47fb83d87f1341ebccf99a7.tar.gz
opie-88882051547c9c62f47fb83d87f1341ebccf99a7.tar.bz2
- use xine_set_param( ..., XINE_PARAM_SPEED, with XINE_SPEED_PAUSE and
XINE_SPEED_NORMAL to toggle between pause and playing state, instead of attempting to re-start the stream at the last position
Diffstat (limited to 'noncore/multimedia/opieplayer2/xinecontrol.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/xinecontrol.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/noncore/multimedia/opieplayer2/xinecontrol.cpp b/noncore/multimedia/opieplayer2/xinecontrol.cpp
index 6f1cd9c..0e81fa2 100644
--- a/noncore/multimedia/opieplayer2/xinecontrol.cpp
+++ b/noncore/multimedia/opieplayer2/xinecontrol.cpp
@@ -144,11 +144,7 @@ void XineControl::stop( bool isSet ) {
* @isSet
*/
void XineControl::pause( bool isSet) {
- if ( isSet ) {
- libXine->pause();
- } else {
- libXine->play( m_fileName, 0, m_currentTime );
- }
+ libXine->pause( isSet );
}