mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
videotestsrc: Fix a leak when computing alpha caps
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1131>
This commit is contained in:
parent
9b6a425aa4
commit
b14347041a
1 changed files with 1 additions and 0 deletions
|
@ -472,6 +472,7 @@ gst_video_test_src_src_fixate (GstBaseSrc * bsrc, GstCaps * caps)
|
|||
} else {
|
||||
gst_caps_replace (&caps, alpha_only_caps);
|
||||
}
|
||||
gst_caps_unref (alpha_only_caps);
|
||||
}
|
||||
|
||||
caps = gst_caps_make_writable (caps);
|
||||
|
|
Loading…
Reference in a new issue