rtpbasepayload: Remove dead twcc code

This feature was removed in 7a53fbad68,
but this code was left behind.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1922>
This commit is contained in:
Nirbheek Chauhan 2022-03-09 16:02:06 +05:30 committed by Tim-Philipp Müller
parent 3890ef40d8
commit 2fd6e40a7f
2 changed files with 0 additions and 7 deletions

View file

@ -35,8 +35,6 @@
GST_DEBUG_CATEGORY_STATIC (rtpbasepayload_debug);
#define GST_CAT_DEFAULT (rtpbasepayload_debug)
static gboolean enable_experimental_twcc = FALSE;
struct _GstRTPBasePayloadPrivate
{
gboolean ts_offset_random;
@ -259,9 +257,6 @@ gst_rtp_base_payload_class_init (GstRTPBasePayloadClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
if (g_getenv ("GST_RTP_ENABLE_EXPERIMENTAL_TWCC_PROPERTY"))
enable_experimental_twcc = TRUE;
if (private_offset != 0)
g_type_class_adjust_private_offset (klass, &private_offset);

View file

@ -2316,8 +2316,6 @@ rtp_basepayloading_suite (void)
Suite *s = suite_create ("rtp_base_payloading_test");
TCase *tc_chain = tcase_create ("payloading tests");
g_setenv ("GST_RTP_ENABLE_EXPERIMENTAL_TWCC_PROPERTY", "1", TRUE);
tcase_set_timeout (tc_chain, 60);
suite_add_tcase (s, tc_chain);