From 93df1af5901576eb16bd6bc4c74100d16ed32870 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Sat, 18 Apr 2009 02:00:26 -0500 Subject: Removed some useless code from LLMediaImplGStreamer::startPlay(). --- linden/indra/llmedia/llmediaimplgstreamer.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to '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() void LLMediaImplGStreamer::startPlay() { - GstElement *pipeline = (GstElement *)gst_object_ref(GST_OBJECT(mPlaybin)); - gst_object_unref(pipeline); - GstStateChangeReturn state_change; state_change = gst_element_set_state(mPlaybin, GST_STATE_PLAYING); -- cgit v1.1