playsink: fix the vis property getter

This commit is contained in:
Wim Taymans 2009-09-28 21:54:03 +02:00 committed by Wim Taymans
parent 7be6753e0d
commit f18ed7abf9

View file

@ -2491,6 +2491,7 @@ gst_play_sink_release_pad (GstPlaySink * playsink, GstPad * pad)
*res = NULL; *res = NULL;
} }
} }
static void static void
gst_play_sink_release_request_pad (GstElement * element, GstPad * pad) 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)); g_value_take_string (value, gst_play_sink_get_font_desc (playsink));
break; break;
case PROP_VIS_PLUGIN: 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; break;
default: default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, spec); G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, spec);