From a6a540189154c123ce653a690189aa8e259f6f04 Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Tue, 19 Nov 2024 16:42:11 +0100 Subject: [PATCH] ccutils: Fix a typo in max_buffer_time handling All users set max_buffer_time to GST_CLOCK_TIME_NONE, effectively infinite, so this never was a problem. Part-of: --- subprojects/gst-plugins-bad/ext/closedcaption/ccutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/ext/closedcaption/ccutils.c b/subprojects/gst-plugins-bad/ext/closedcaption/ccutils.c index 7564793130..1dca36fd90 100644 --- a/subprojects/gst-plugins-bad/ext/closedcaption/ccutils.c +++ b/subprojects/gst-plugins-bad/ext/closedcaption/ccutils.c @@ -626,7 +626,7 @@ push_internal (CCBuffer * buf, const guint8 * cea608_1, GST_WARNING_OBJECT (buf, "ccp data overflow, dropping all " "previous data, max %u, attempted to hold %u", max_cea708_bytes, cc_data_len + buf->cc_data->len); - g_array_set_size (buf->cea608_2, 0); + g_array_set_size (buf->cc_data, 0); } g_array_append_vals (buf->cc_data, cc_data, cc_data_len); }