Commit 8df947df authored by Devarsh Thakkar's avatar Devarsh Thakkar Committed by GStreamer Merge Bot

videoencoder: Release stream lock in finish_subframe before pad_push

Derived from 780d635dadc0723e39a8ba90cfe0903a2de346fd for
which was for finish_frame.
parent 6dd64353
......@@ -2552,8 +2552,10 @@ gst_video_encoder_finish_subframe (GstVideoEncoder * encoder,
gst_video_encoder_transform_meta_unlocked (encoder, frame);
if (ret == GST_FLOW_OK) {
ret = gst_pad_push (encoder->srcpad, subframe_buffer);
subframe_buffer = 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