[gst-cvs] gst-plugins-base: playsink: fix the vis property getter

Wim Taymans wtay at kemper.freedesktop.org
Thu Oct 1 00:36:36 PDT 2009


Module: gst-plugins-base
Branch: master
Commit: f18ed7abf96d27b61003ec0c6d31c0c2755cc82d
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=f18ed7abf96d27b61003ec0c6d31c0c2755cc82d

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Mon Sep 28 21:54:03 2009 +0200

playsink: fix the vis property getter

---

 gst/playback/gstplaysink.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c
index 388a99f..8ffa2f4 100644
--- a/gst/playback/gstplaysink.c
+++ b/gst/playback/gstplaysink.c
@@ -2491,6 +2491,7 @@ gst_play_sink_release_pad (GstPlaySink * playsink, GstPad * pad)
     *res = NULL;
   }
 }
+
 static void
 gst_play_sink_release_request_pad (GstElement * element, GstPad * pad)
 {
@@ -2791,7 +2792,7 @@ gst_play_sink_get_property (GObject * object, guint prop_id,
       g_value_take_string (value, gst_play_sink_get_font_desc (playsink));
       break;
     case PROP_VIS_PLUGIN:
-      gst_play_sink_set_vis_plugin (playsink, g_value_get_object (value));
+      g_value_take_object (value, gst_play_sink_get_vis_plugin (playsink));
       break;
     default:
       G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, spec);





More information about the Gstreamer-commits mailing list