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 /linden/indra/llmedia/llmediaimplgstreamer.cpp | |
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().
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llmedia/llmediaimplgstreamer.cpp | 3 |
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 | ||
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); |