diff options
author | Jacek Antonelli | 2009-04-18 02:00:26 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-04-18 03:41:50 -0500 |
commit | 93df1af5901576eb16bd6bc4c74100d16ed32870 (patch) | |
tree | fbed1a341416eee8cb3ec9ceaf2327695ae886b8 | |
parent | Don't use LL_ERRS, it makes the viewer abort! (diff) | |
download | meta-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.txt | 6 | ||||
-rw-r--r-- | linden/indra/llmedia/llmediaimplgstreamer.cpp | 3 |
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 @@ | |||
1 | 2009-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 | |||
1 | 2009-04-06 Jacek Antonelli <jacek.antonelli@gmail.com> | 7 | 2009-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 | ||
814 | void LLMediaImplGStreamer::startPlay() | 814 | void 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); |