From 81ccfdd6fdb84217fb04b8bd564880238881995d 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 47cab8ad69..227d235212 100644 --- a/gst-libs/gst/video/convertframe.c +++ b/gst-libs/gst/video/convertframe.c @@ -532,6 +532,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; } }