diff options
author | Mathieu Duponchelle <mathieu@centricular.com> | 2018-02-27 16:33:53 +0100 |
---|---|---|
committer | Mathieu Duponchelle <mathieu@centricular.com> | 2018-02-27 16:34:51 +0100 |
commit | b0dd092ea6027816018530971566ebf0b702e6ce (patch) | |
tree | 0d31ef27373f9164fef1097faf13e1c68ae28839 | |
parent | 7b74816f07ac7b10158aa1831f7119ee23c662ac (diff) |
tests: fix redenc tests
The default of the allow-no-red-blocks property was changed in a
previous commit, thus breaking the test assumptions
-rw-r--r-- | tests/check/elements/rtpred.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/check/elements/rtpred.c b/tests/check/elements/rtpred.c index e824ade4c..6db4c383a 100644 --- a/tests/check/elements/rtpred.c +++ b/tests/check/elements/rtpred.c @@ -426,9 +426,10 @@ GST_START_TEST (rtpredenc_passthrough) { GstBuffer *bufinp, *bufout; GstHarness *h = gst_harness_new ("rtpredenc"); + + g_object_set (h->element, "allow-no-red-blocks", FALSE, NULL); gst_harness_set_src_caps_str (h, GST_RTP_RED_ENC_CAPS_STR); - /* Passthrough by default */ bufinp = _new_rtp_buffer (FALSE, 0, PT_MEDIA, 0, TIMESTAMP_NTH (0), 0xabe2b0b, 0); bufout = gst_harness_push_and_pull (h, bufinp); |