mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
playsink: fix the vis property getter
This commit is contained in:
parent
7be6753e0d
commit
f18ed7abf9
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue