mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
video: fix pipeline leak in gst_video_convert_sample_async()
This commit is contained in:
parent
50aa1622e1
commit
81ccfdd6fd
1 changed files with 1 additions and 0 deletions
|
@ -532,6 +532,7 @@ convert_frame_finish (GstVideoConvertSampleContext * context,
|
||||||
if (context->pipeline) {
|
if (context->pipeline) {
|
||||||
gst_element_call_async (context->pipeline, convert_frame_stop_pipeline,
|
gst_element_call_async (context->pipeline, convert_frame_stop_pipeline,
|
||||||
NULL, NULL);
|
NULL, NULL);
|
||||||
|
gst_object_unref (context->pipeline);
|
||||||
context->pipeline = NULL;
|
context->pipeline = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue