omxvideoenc: Fix deadlock when using the EOS hack

This commit is contained in:
Jonas Larsson 2011-12-14 10:07:29 +01:00 committed by Sebastian Dröge
parent 3db75118dd
commit 2cab5b5db5

View file

@ -904,6 +904,7 @@ gst_omx_video_enc_loop (GstOMXVideoEnc * self)
} else {
g_assert ((klass->hacks & GST_OMX_HACK_NO_EMPTY_EOS_BUFFER));
GST_BASE_VIDEO_CODEC_STREAM_LOCK (self);
flow_ret = GST_FLOW_UNEXPECTED;
}