From e2173a7112579b4a7fd1c8516e88b2609a31eac4 Mon Sep 17 00:00:00 2001 From: fgerlits Date: Thu, 8 Feb 2007 17:42:07 +0000 Subject: [PATCH] fixed the bug that the Cue player Play/Pause button stays on Pause if there is an audio player error --- campcaster/src/products/gLiveSupport/src/CuePlayer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/campcaster/src/products/gLiveSupport/src/CuePlayer.cxx b/campcaster/src/products/gLiveSupport/src/CuePlayer.cxx index 93d1b887b..22dc2f36a 100644 --- a/campcaster/src/products/gLiveSupport/src/CuePlayer.cxx +++ b/campcaster/src/products/gLiveSupport/src/CuePlayer.cxx @@ -127,8 +127,8 @@ CuePlayer :: onPlayItem(void) throw () if (iter) { Ptr::Ref playable = (*iter)[modelColumns.playableColumn]; try { - gLiveSupport->playCueAudio(playable); setAudioState(playingState); + gLiveSupport->playCueAudio(playable); } catch (std::runtime_error &e) { std::cerr << "GLiveSupport::playCueAudio() error:" << std::endl << e.what() << std::endl;