aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJacek Antonelli2009-04-18 02:00:26 -0500
committerJacek Antonelli2009-04-18 03:41:50 -0500
commit93df1af5901576eb16bd6bc4c74100d16ed32870 (patch)
treefbed1a341416eee8cb3ec9ceaf2327695ae886b8
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().
-rw-r--r--ChangeLog.txt6
-rw-r--r--linden/indra/llmedia/llmediaimplgstreamer.cpp3
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 6fd7771..0cfbbaf 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,3 +1,9 @@
12009-04-18 Jacek Antonelli <jacek.antonelli@gmail.com>
2
3 * linden/indra/llmedia/llmediaimplgstreamer.cpp:
4 Removed some useless code from LLMediaImplGStreamer::startPlay().
5
6
12009-04-06 Jacek Antonelli <jacek.antonelli@gmail.com> 72009-04-06 Jacek Antonelli <jacek.antonelli@gmail.com>
2 8
3 * linden/indra/llmedia/llmediaimplgstreamer.cpp: 9 * linden/indra/llmedia/llmediaimplgstreamer.cpp:
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);