summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <thiagoss@osg.samsung.com>2015-08-25 12:42:22 -0300
committerThiago Santos <thiagoss@osg.samsung.com>2015-08-27 17:20:32 -0300
commit8d2a8e6dce68bdcc895ddde2a7f8d2fd6c2786ad (patch)
tree25c555c994ebbe2d98750973c24cfb9d4f752fce
parent6a8194e1219531d00554d263cfdb0cc3e7b302d6 (diff)
deinterlace: don't do downstream queries when handling accept-caps
Checking with the template caps is enough for deinterlace
-rw-r--r--gst/deinterlace/gstdeinterlace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/deinterlace/gstdeinterlace.c b/gst/deinterlace/gstdeinterlace.c
index 0c46a4229..6e0d3404c 100644
--- a/gst/deinterlace/gstdeinterlace.c
+++ b/gst/deinterlace/gstdeinterlace.c
@@ -708,6 +708,7 @@ gst_deinterlace_init (GstDeinterlace * self)
GST_DEBUG_FUNCPTR (gst_deinterlace_sink_event));
gst_pad_set_query_function (self->sinkpad,
GST_DEBUG_FUNCPTR (gst_deinterlace_sink_query));
+ GST_PAD_SET_ACCEPT_TEMPLATE (self->sinkpad);
gst_element_add_pad (GST_ELEMENT (self), self->sinkpad);
self->srcpad = gst_pad_new_from_static_template (&src_templ, "src");