From c9b370a6e42c0f159df6826cbf59967b62cb8186 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 18 Sep 2024 12:33:33 +0300 Subject: [PATCH] cea708mux: Fix off-by-one in deciding whether a buffer belongs to this or the next frame Part-of: --- video/closedcaption/src/cea708mux/imp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/closedcaption/src/cea708mux/imp.rs b/video/closedcaption/src/cea708mux/imp.rs index 87677de7e..6c57ce330 100644 --- a/video/closedcaption/src/cea708mux/imp.rs +++ b/video/closedcaption/src/cea708mux/imp.rs @@ -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; }