aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmedia/llmediaimplgstreamer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llmedia/llmediaimplgstreamer.cpp')
-rw-r--r--linden/indra/llmedia/llmediaimplgstreamer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/llmedia/llmediaimplgstreamer.cpp b/linden/indra/llmedia/llmediaimplgstreamer.cpp
index 20a1fc3..ece3fb0 100644
--- a/linden/indra/llmedia/llmediaimplgstreamer.cpp
+++ b/linden/indra/llmedia/llmediaimplgstreamer.cpp
@@ -600,7 +600,7 @@ bool LLMediaImplGStreamer::stop()
600 mState = GST_STATE_READY; 600 mState = GST_STATE_READY;
601 601
602 GstStateChangeReturn state_change = llgst_element_get_state(mPlaybin, NULL, NULL, GST_CLOCK_TIME_NONE); 602 GstStateChangeReturn state_change = llgst_element_get_state(mPlaybin, NULL, NULL, GST_CLOCK_TIME_NONE);
603 LL_DEBUGS("MediaImpl") << "get_state: " << state_change << LL_ENDL; 603 LL_DEBUGS("MediaImpl") << "get_state: " << llgst_element_state_change_return_get_name(state_change) << LL_ENDL;
604 604
605 return true; 605 return true;
606} 606}
@@ -623,7 +623,7 @@ bool LLMediaImplGStreamer::play()
623 mState = GST_STATE_PLAYING;*/ 623 mState = GST_STATE_PLAYING;*/
624 624
625 GstStateChangeReturn state_change = llgst_element_get_state(mPlaybin, NULL, NULL, GST_CLOCK_TIME_NONE); 625 GstStateChangeReturn state_change = llgst_element_get_state(mPlaybin, NULL, NULL, GST_CLOCK_TIME_NONE);
626 LL_DEBUGS("MediaImpl") << "get_state: " << state_change << LL_ENDL; 626 LL_DEBUGS("MediaImpl") << "get_state: " << llgst_element_state_change_return_get_name(state_change) << LL_ENDL;
627 627
628 // Check to make sure playing was successful. If not, stop. 628 // Check to make sure playing was successful. If not, stop.
629 if (state_change == GST_STATE_CHANGE_FAILURE) 629 if (state_change == GST_STATE_CHANGE_FAILURE)
@@ -648,7 +648,7 @@ bool LLMediaImplGStreamer::pause()
648 mState = GST_STATE_PAUSED; 648 mState = GST_STATE_PAUSED;
649 649
650 GstStateChangeReturn state_change = llgst_element_get_state(mPlaybin, NULL, NULL, GST_CLOCK_TIME_NONE); 650 GstStateChangeReturn state_change = llgst_element_get_state(mPlaybin, NULL, NULL, GST_CLOCK_TIME_NONE);
651 LL_DEBUGS("MediaImpl") << "get_state: " << state_change << LL_ENDL; 651 LL_DEBUGS("MediaImpl") << "get_state: " << llgst_element_state_change_return_get_name(state_change) << LL_ENDL;
652 652
653 return true; 653 return true;
654}; 654};