diff options
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/llmedia/llmediaimplgstreamer.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linden/indra/llmedia/llmediaimplgstreamer.cpp b/linden/indra/llmedia/llmediaimplgstreamer.cpp index 5cf7eed..3fd6d6e 100644 --- a/linden/indra/llmedia/llmediaimplgstreamer.cpp +++ b/linden/indra/llmedia/llmediaimplgstreamer.cpp | |||
@@ -792,6 +792,13 @@ bool LLMediaImplGStreamer::play() | |||
792 | if (!mPlaybin || mState == GST_STATE_NULL) | 792 | if (!mPlaybin || mState == GST_STATE_NULL) |
793 | return true; | 793 | return true; |
794 | 794 | ||
795 | |||
796 | if( getState() == GST_STATE_PLAYING ) | ||
797 | { | ||
798 | LL_DEBUGS("MediaImpl") << "... but already playing." << LL_ENDL; | ||
799 | return true; | ||
800 | } | ||
801 | |||
795 | // Clean up the existing thread, if any. | 802 | // Clean up the existing thread, if any. |
796 | if( mPlayThread != NULL && mPlayThread->isStopped()) | 803 | if( mPlayThread != NULL && mPlayThread->isStopped()) |
797 | { | 804 | { |