Commit 9d917d5b authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

video: fix pipeline leak in gst_video_convert_sample_async()

parent c5e23909
......@@ -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;
}
}
......
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