Commit 2e5262cd authored by Sebastian Dröge's avatar Sebastian Dröge Committed by Tim-Philipp Müller
Browse files

imagefreeze: Set fixed caps on the correct pad

This makes the sink getcaps function actually used instead of using
the fixed caps function for it.
parent e258a91f
......@@ -128,7 +128,7 @@ gst_image_freeze_init (GstImageFreeze * self, GstImageFreezeClass * g_class)
GST_DEBUG_FUNCPTR (gst_image_freeze_src_query));
gst_pad_set_query_type_function (self->srcpad,
GST_DEBUG_FUNCPTR (gst_image_freeze_src_query_type));
gst_pad_use_fixed_caps (self->sinkpad);
gst_pad_use_fixed_caps (self->srcpad);
gst_element_add_pad (GST_ELEMENT (self), self->srcpad);
gst_image_freeze_reset (self);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment