Apply 1 suggestion(s) to 1 file(s)

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/868>
This commit is contained in:
Kevin Song 2021-02-05 00:55:04 +00:00
parent 025b43e512
commit fd6c296021

View file

@ -751,7 +751,7 @@ gst_v4l2_video_enc_handle_frame (GstVideoEncoder * encoder,
/* It possible that the processing thread stopped due to an error */
if (self->output_flow != GST_FLOW_OK &&
self->output_flow != GST_FLOW_FLUSHING &&
self->output_flow != GST_FLOW_CUSTOM_SUCCESS) {
self->output_flow != GST_V4L2_FLOW_LAST_BUFFER) {
GST_DEBUG_OBJECT (self, "Processing loop stopped with error: %s, leaving",
gst_flow_get_name (self->output_flow));
ret = self->output_flow;