mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
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.
This commit is contained in:
parent
e258a91f8b
commit
2e5262cda2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue