diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2019-05-21 16:03:21 +0300 |
---|---|---|
committer | Sebastian Dröge <slomo@coaxion.net> | 2019-05-22 07:48:33 +0000 |
commit | 70b08bdbfad43875c914600d86855009dc4de05e (patch) | |
tree | 2771576ecbccacc8197474102f73e8d7d30ab403 /gst/proxy/gstproxysink.c | |
parent | 7820109b8821c438962950269aece063e5b8d993 (diff) | |
download | gstreamer-plugins-bad-70b08bdbfad43875c914600d86855009dc4de05e.tar.gz |
proxy: Set SOURCE flag on the source and SINK flag on the sink
So that they are properly recognized as such.
Diffstat (limited to 'gst/proxy/gstproxysink.c')
-rw-r--r-- | gst/proxy/gstproxysink.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/proxy/gstproxysink.c b/gst/proxy/gstproxysink.c index b1a015d9e..325b8a0f9 100644 --- a/gst/proxy/gstproxysink.c +++ b/gst/proxy/gstproxysink.c @@ -97,6 +97,8 @@ gst_proxy_sink_init (GstProxySink * self) gst_pad_set_query_function (self->sinkpad, GST_DEBUG_FUNCPTR (gst_proxy_sink_sink_query)); gst_element_add_pad (GST_ELEMENT (self), self->sinkpad); + + GST_OBJECT_FLAG_SET (self, GST_ELEMENT_FLAG_SINK); } static GstStateChangeReturn |