mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 15:36:35 +00:00
omxvideoenc: Fix deadlock when using the EOS hack
This commit is contained in:
parent
3db75118dd
commit
2cab5b5db5
1 changed files with 1 additions and 0 deletions
|
@ -904,6 +904,7 @@ gst_omx_video_enc_loop (GstOMXVideoEnc * self)
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
g_assert ((klass->hacks & GST_OMX_HACK_NO_EMPTY_EOS_BUFFER));
|
g_assert ((klass->hacks & GST_OMX_HACK_NO_EMPTY_EOS_BUFFER));
|
||||||
|
GST_BASE_VIDEO_CODEC_STREAM_LOCK (self);
|
||||||
flow_ret = GST_FLOW_UNEXPECTED;
|
flow_ret = GST_FLOW_UNEXPECTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue