diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2019-03-06 09:17:02 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2019-05-01 17:02:08 +0100 |
commit | 9d917d5b0d35a7e563b8d4ab6f6b1b44e3906628 (patch) | |
tree | 98a1287ffa609c7fc49c99bb9161246f77a32c7f | |
parent | c5e239094c82aa64f45913ede469167adb57b081 (diff) | |
download | gstreamer-plugins-base-9d917d5b0d35a7e563b8d4ab6f6b1b44e3906628.tar.gz |
video: fix pipeline leak in gst_video_convert_sample_async()
-rw-r--r-- | gst-libs/gst/video/convertframe.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } } |