rtpvp9pay: tests: remove unused struct and argument on test
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4530>
This commit is contained in:
parent
11187a81c3
commit
38d5899eba
@ -229,18 +229,9 @@ typedef struct _DepayGapEventTestData
|
|||||||
guint buffer_type;
|
guint buffer_type;
|
||||||
} DepayGapEventTestData;
|
} DepayGapEventTestData;
|
||||||
|
|
||||||
typedef struct
|
|
||||||
{
|
|
||||||
gint seq_num;
|
|
||||||
gint picid;
|
|
||||||
guint buffer_type;
|
|
||||||
gboolean s_bit;
|
|
||||||
gboolean marker_bit;
|
|
||||||
} DepayGapEventTestDataFull;
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
test_depay_gap_event_base (const DepayGapEventTestData * data,
|
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;
|
GstEvent *event;
|
||||||
GstClockTime pts = 0;
|
GstClockTime pts = 0;
|
||||||
@ -314,8 +305,7 @@ static const DepayGapEventTestData stop_gap_events_test_data[][2] = {
|
|||||||
|
|
||||||
GST_START_TEST (test_depay_stop_gap_events)
|
GST_START_TEST (test_depay_stop_gap_events)
|
||||||
{
|
{
|
||||||
test_depay_gap_event_base (&stop_gap_events_test_data[__i__][0], TRUE, FALSE,
|
test_depay_gap_event_base (&stop_gap_events_test_data[__i__][0], TRUE, FALSE);
|
||||||
__i__);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
@ -340,8 +330,7 @@ static const DepayGapEventTestData resend_gap_event_test_data[][2] = {
|
|||||||
|
|
||||||
GST_START_TEST (test_depay_resend_gap_event)
|
GST_START_TEST (test_depay_resend_gap_event)
|
||||||
{
|
{
|
||||||
test_depay_gap_event_base (&resend_gap_event_test_data[__i__][0], TRUE, TRUE,
|
test_depay_gap_event_base (&resend_gap_event_test_data[__i__][0], TRUE, TRUE);
|
||||||
__i__);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user