Apply 1 suggestion(s) to 1 file(s)
authorKevin Song <kevinbing.song@gmail.com>
Fri, 5 Feb 2021 00:55:04 +0000 (00:55 +0000)
committerKevin Song <kevinbing.song@gmail.com>
Fri, 5 Feb 2021 00:55:49 +0000 (00:55 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/868>

sys/v4l2/gstv4l2videoenc.c

index bc184f0..eecf30f 100644 (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;