diff options
author | Havard Graff <havard.graff@gmail.com> | 2018-04-10 18:22:57 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2018-05-13 19:09:29 +0100 |
commit | cd8c12f240a60e816dec75be89f8997487e9edb8 (patch) | |
tree | 78c4c11879eef90150102d4be5029587fa5f2a92 | |
parent | e555596d48af16ed3d444b9278f3e583435a5475 (diff) |
tests: rtpsession: fix indentation
https://bugzilla.gnome.org/show_bug.cgi?id=795139
-rw-r--r-- | tests/check/elements/rtpsession.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/check/elements/rtpsession.c b/tests/check/elements/rtpsession.c index 94925ee66..e19adacd5 100644 --- a/tests/check/elements/rtpsession.c +++ b/tests/check/elements/rtpsession.c @@ -44,8 +44,7 @@ generate_caps (void) { return gst_caps_new_simple ("application/x-rtp", "clock-rate", G_TYPE_INT, TEST_BUF_CLOCK_RATE, - "payload", G_TYPE_INT, TEST_BUF_PT, - NULL); + "payload", G_TYPE_INT, TEST_BUF_PT, NULL); } static GstBuffer * @@ -181,8 +180,7 @@ session_harness_crank_clock (SessionHarness * h) } static gboolean -session_harness_advance_and_crank (SessionHarness * h, - GstClockTime delta) +session_harness_advance_and_crank (SessionHarness * h, GstClockTime delta) { GstClockID res, pending; gboolean result; @@ -427,7 +425,7 @@ GST_START_TEST (test_internal_sources_timeout) gst_rtcp_buffer_unmap (&rtcp); gst_buffer_unref (buf); } - fail_unless_equals_int (0x3, j); /* verify we got both SR and RR */ + fail_unless_equals_int (0x3, j); /* verify we got both SR and RR */ /* go 30 seconds in the future and observe both sources timing out: * 0xDEADBEEF -> BYE, 0x01BADBAD -> becomes receiver only */ @@ -468,7 +466,7 @@ GST_START_TEST (test_internal_sources_timeout) gst_rtcp_buffer_unmap (&rtcp); gst_buffer_unref (buf); } - fail_unless_equals_int (0x3, j); /* verify we got both BYE and RR */ + fail_unless_equals_int (0x3, j); /* verify we got both BYE and RR */ session_harness_free (h); } @@ -719,6 +717,7 @@ rtpsession_suite (void) tcase_add_test (tc_chain, test_dont_lock_on_stats); tcase_add_test (tc_chain, test_ignore_suspicious_bye); + tcase_add_test (tc_chain, test_illegal_rtcp_fb_packet); return s; } |