From 9d917d5b0d35a7e563b8d4ab6f6b1b44e3906628 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 6 Mar 2019 09:17:02 +0000 Subject: [PATCH] video: fix pipeline leak in gst_video_convert_sample_async() --- gst-libs/gst/video/convertframe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst-libs/gst/video/convertframe.c b/gst-libs/gst/video/convertframe.c index d6d6610d0..ed72525c4 100644 --- a/gst-libs/gst/video/convertframe.c +++ b/gst-libs/gst/video/convertframe.c @@ -529,6 +529,7 @@ convert_frame_finish (GstVideoConvertSampleContext * context, if (context->pipeline) { gst_element_call_async (context->pipeline, convert_frame_stop_pipeline, NULL, NULL); + gst_object_unref (context->pipeline); context->pipeline = NULL; } } -- GitLab