diff options
author | Matthew Waters <matthew@centricular.com> | 2020-05-06 15:36:19 +1000 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2020-05-06 15:49:58 +1000 |
commit | 02c8e66ff1d3e5f72436222459b4aecc439fbe73 (patch) | |
tree | 369d71c74b9122d48e6bb31f2a02a1b326b14380 /tests | |
parent | d0b20f8bbaa9e5611258045102ae45c9d6d45d6e (diff) | |
download | gstreamer-plugins-bad-02c8e66ff1d3e5f72436222459b4aecc439fbe73.tar.gz |
webrtc: fix an off-by-one calculating low-threshold
We were not signalling low-threshold when the previous amount was at
exactly the low-threshold mark.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1247>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/elements/webrtcbin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/elements/webrtcbin.c b/tests/check/elements/webrtcbin.c index eeb733d95..27da1d5fb 100644 --- a/tests/check/elements/webrtcbin.c +++ b/tests/check/elements/webrtcbin.c @@ -1846,7 +1846,7 @@ have_data_channel_check_low_threshold_emitted (struct test_webrtc *t, g_signal_connect (our, "on-error", G_CALLBACK (on_channel_error_not_reached), NULL); - g_signal_emit_by_name (our, "send-string", "DATA"); + g_signal_emit_by_name (our, "send-string", "A"); } GST_START_TEST (test_data_channel_low_threshold) |