Commit b1434704 authored by Nirbheek Chauhan's avatar Nirbheek Chauhan

videotestsrc: Fix a leak when computing alpha caps

Part-of: <>
parent 9b6a425a
......@@ -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);
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