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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7967>
This commit is contained in:
Jan Alexander Steffens (heftig) 2024-11-19 16:42:11 +01:00 committed by GStreamer Marge Bot
parent 3a119b20b3
commit a6a5401891

View file

@ -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);
}