aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmedia/llmediaimplgstreamer.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2009-04-18 02:00:26 -0500
committerJacek Antonelli2009-04-18 03:41:50 -0500
commit93df1af5901576eb16bd6bc4c74100d16ed32870 (patch)
treefbed1a341416eee8cb3ec9ceaf2327695ae886b8 /linden/indra/llmedia/llmediaimplgstreamer.cpp
parentDon't use LL_ERRS, it makes the viewer abort! (diff)
downloadmeta-impy-93df1af5901576eb16bd6bc4c74100d16ed32870.zip
meta-impy-93df1af5901576eb16bd6bc4c74100d16ed32870.tar.gz
meta-impy-93df1af5901576eb16bd6bc4c74100d16ed32870.tar.bz2
meta-impy-93df1af5901576eb16bd6bc4c74100d16ed32870.tar.xz
Removed some useless code from LLMediaImplGStreamer::startPlay().
Diffstat (limited to '')
-rw-r--r--linden/indra/llmedia/llmediaimplgstreamer.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/linden/indra/llmedia/llmediaimplgstreamer.cpp b/linden/indra/llmedia/llmediaimplgstreamer.cpp
index 7eb2b7b..5cf7eed 100644
--- a/linden/indra/llmedia/llmediaimplgstreamer.cpp
+++ b/linden/indra/llmedia/llmediaimplgstreamer.cpp
@@ -813,9 +813,6 @@ bool LLMediaImplGStreamer::play()
813 813
814void LLMediaImplGStreamer::startPlay() 814void LLMediaImplGStreamer::startPlay()
815{ 815{
816 GstElement *pipeline = (GstElement *)gst_object_ref(GST_OBJECT(mPlaybin));
817 gst_object_unref(pipeline);
818
819 GstStateChangeReturn state_change; 816 GstStateChangeReturn state_change;
820 817
821 state_change = gst_element_set_state(mPlaybin, GST_STATE_PLAYING); 818 state_change = gst_element_set_state(mPlaybin, GST_STATE_PLAYING);