diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-09 13:29:39 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-09 13:29:39 -0500 |
commit | c0913ce69ba56f01e0b197f6c7a4776080da35a0 (patch) | |
tree | e15a785a8ee00f8d2c0c61fefd543cf1d82de45b /kaboodle/engine.cpp | |
parent | 0ecfaa944652fa9b7a632e6135741c4b9f473a20 (diff) | |
download | tdemultimedia-c0913ce69ba56f01e0b197f6c7a4776080da35a0.tar.gz tdemultimedia-c0913ce69ba56f01e0b197f6c7a4776080da35a0.zip |
Fix artsd exiting on Xine-generated Xorg errors
This relates to Bug 2150
Fix Kaboodle not playing newly loaded videos
This relates to Bug 1905
Diffstat (limited to 'kaboodle/engine.cpp')
-rw-r--r-- | kaboodle/engine.cpp | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/kaboodle/engine.cpp b/kaboodle/engine.cpp index a53989d2..9008dab0 100644 --- a/kaboodle/engine.cpp +++ b/kaboodle/engine.cpp @@ -109,20 +109,18 @@ bool Kaboodle::Engine::reload(void) void Kaboodle::Engine::play() { - if(d->playobj) - { - switch(d->playobj->state()) - { - case Arts::posIdle: - if(needReload) - reload(); - d->playobj->play(); - break; - case Arts::posPaused: - d->playobj->play(); - break; - default: - break; + if(d->playobj) { + switch(d->playobj->state()) { + case Arts::posIdle: + if(needReload) + reload(); + d->playobj->play(); + break; + case Arts::posPaused: + d->playobj->play(); + break; + default: + break; } } } |