From 146111d7c20ac2baf4b3361fe2ae64897c7d2958 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Wed, 9 Mar 2022 16:02:06 +0530 Subject: [PATCH] rtpbasepayload: Remove dead twcc code This feature was removed in 7a53fbad68d702ca4905f7da223f4d2884548edc, but this code was left behind. Part-of: --- subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtpbasepayload.c | 5 ----- subprojects/gst-plugins-base/tests/check/libs/rtpbasepayload.c | 2 -- 2 files changed, 7 deletions(-) diff --git a/subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtpbasepayload.c b/subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtpbasepayload.c index fd50f72..fb403e9 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtpbasepayload.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtpbasepayload.c @@ -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); diff --git a/subprojects/gst-plugins-base/tests/check/libs/rtpbasepayload.c b/subprojects/gst-plugins-base/tests/check/libs/rtpbasepayload.c index 49a7058..a7cfa46 100644 --- a/subprojects/gst-plugins-base/tests/check/libs/rtpbasepayload.c +++ b/subprojects/gst-plugins-base/tests/check/libs/rtpbasepayload.c @@ -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); -- 2.7.4