mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:16:13 +00:00
interlace: fix ref leak
This commit is contained in:
parent
fcf511aa8f
commit
5ea1601dd9
1 changed files with 2 additions and 0 deletions
|
@ -463,6 +463,8 @@ gst_interlace_getcaps (GstPad * pad)
|
||||||
gst_caps_set_simple (icaps, "interlaced", G_TYPE_BOOLEAN,
|
gst_caps_set_simple (icaps, "interlaced", G_TYPE_BOOLEAN,
|
||||||
pad == interlace->srcpad ? TRUE : FALSE, NULL);
|
pad == interlace->srcpad ? TRUE : FALSE, NULL);
|
||||||
|
|
||||||
|
gst_object_unref (interlace);
|
||||||
|
|
||||||
return icaps;
|
return icaps;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue