mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
tests: fix redenc tests
The default of the allow-no-red-blocks property was changed in a previous commit, thus breaking the test assumptions
This commit is contained in:
parent
7b74816f07
commit
b0dd092ea6
1 changed files with 2 additions and 1 deletions
|
@ -426,9 +426,10 @@ GST_START_TEST (rtpredenc_passthrough)
|
||||||
{
|
{
|
||||||
GstBuffer *bufinp, *bufout;
|
GstBuffer *bufinp, *bufout;
|
||||||
GstHarness *h = gst_harness_new ("rtpredenc");
|
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);
|
gst_harness_set_src_caps_str (h, GST_RTP_RED_ENC_CAPS_STR);
|
||||||
|
|
||||||
/* Passthrough by default */
|
|
||||||
bufinp =
|
bufinp =
|
||||||
_new_rtp_buffer (FALSE, 0, PT_MEDIA, 0, TIMESTAMP_NTH (0), 0xabe2b0b, 0);
|
_new_rtp_buffer (FALSE, 0, PT_MEDIA, 0, TIMESTAMP_NTH (0), 0xabe2b0b, 0);
|
||||||
bufout = gst_harness_push_and_pull (h, bufinp);
|
bufout = gst_harness_push_and_pull (h, bufinp);
|
||||||
|
|
Loading…
Reference in a new issue