summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst-libs/gst/video/convertframe.c1
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;
}
}