test: Flush opus encoder between tests
This commit is contained in:
parent
59e408f54e
commit
f4f714fc6b
@ -333,6 +333,11 @@ GST_START_TEST (test_opus_encode_properties)
|
|||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
check_buffers (1);
|
check_buffers (1);
|
||||||
|
|
||||||
|
fail_unless (gst_pad_push_event (myencsrcpad,
|
||||||
|
gst_event_new_flush_start ()) == TRUE);
|
||||||
|
fail_unless (gst_pad_push_event (myencsrcpad,
|
||||||
|
gst_event_new_flush_stop (FALSE)) == TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user