summaryrefslogtreecommitdiff
path: root/subprojects
diff options
context:
space:
mode:
authorCamilo Celis Guzman <camilo@pexip.com>2023-05-02 22:21:34 +0900
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2023-05-05 07:45:19 +0000
commit38d5899eba133207ae1e59a56489c983b788f04b (patch)
treef2771e86564ff69bde8863be8464191e8e508e5b /subprojects
parent11187a81c3ca732a52792ce86afa2a634a704658 (diff)
downloadgstreamer-38d5899eba133207ae1e59a56489c983b788f04b.tar.gz
rtpvp9pay: tests: remove unused struct and argument on test
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4530>
Diffstat (limited to 'subprojects')
-rw-r--r--subprojects/gst-plugins-good/tests/check/elements/rtpvp9.c17
1 files changed, 3 insertions, 14 deletions
diff --git a/subprojects/gst-plugins-good/tests/check/elements/rtpvp9.c b/subprojects/gst-plugins-good/tests/check/elements/rtpvp9.c
index 925e7f86c5..2cbb261db0 100644
--- a/subprojects/gst-plugins-good/tests/check/elements/rtpvp9.c
+++ b/subprojects/gst-plugins-good/tests/check/elements/rtpvp9.c
@@ -229,18 +229,9 @@ typedef struct _DepayGapEventTestData
guint buffer_type;
} DepayGapEventTestData;
-typedef struct
-{
- gint seq_num;
- gint picid;
- guint buffer_type;
- gboolean s_bit;
- gboolean marker_bit;
-} DepayGapEventTestDataFull;
-
static void
test_depay_gap_event_base (const DepayGapEventTestData * data,
- gboolean send_lost_event, gboolean expect_gap_event, int iter)
+ gboolean send_lost_event, gboolean expect_gap_event)
{
GstEvent *event;
GstClockTime pts = 0;
@@ -314,8 +305,7 @@ static const DepayGapEventTestData stop_gap_events_test_data[][2] = {
GST_START_TEST (test_depay_stop_gap_events)
{
- test_depay_gap_event_base (&stop_gap_events_test_data[__i__][0], TRUE, FALSE,
- __i__);
+ test_depay_gap_event_base (&stop_gap_events_test_data[__i__][0], TRUE, FALSE);
}
GST_END_TEST;
@@ -340,8 +330,7 @@ static const DepayGapEventTestData resend_gap_event_test_data[][2] = {
GST_START_TEST (test_depay_resend_gap_event)
{
- test_depay_gap_event_base (&resend_gap_event_test_data[__i__][0], TRUE, TRUE,
- __i__);
+ test_depay_gap_event_base (&resend_gap_event_test_data[__i__][0], TRUE, TRUE);
}
GST_END_TEST;