cea708mux: Fix off-by-one in deciding whether a buffer belongs to this or the next frame

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1774>
This commit is contained in:
Sebastian Dröge 2024-09-18 12:33:33 +03:00 committed by GStreamer Marge Bot
parent d69d0f8738
commit c9b370a6e4

View file

@ -184,7 +184,7 @@ impl AggregatorImpl for Cea708Mux {
));
return Err(gst::FlowError::Error);
};
if buffer_start_ts > end_running_time {
if buffer_start_ts >= end_running_time {
// buffer is not for this output time, skip
continue;
}