mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +00:00
gstreamer: Stop outputting frames if pushing one has caused an error
This commit is contained in:
parent
5f03d9c4d1
commit
040c92d8b0
1 changed files with 1 additions and 1 deletions
|
@ -683,7 +683,7 @@ gst_svtav1enc_dequeue_encoded_frames (GstSvtAv1Enc * svtav1enc,
|
|||
svtav1enc->frame_count++;
|
||||
}
|
||||
|
||||
} while (res == EB_ErrorNone && !encode_at_eos);
|
||||
} while (res == EB_ErrorNone && !encode_at_eos && ret == GST_FLOW_OK);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue