video: fix pipeline leak in gst_video_convert_sample_async()
This commit is contained in:
parent
50aa1622e1
commit
81ccfdd6fd
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user