From 23acf753a81ebd81dd3230ee4a42bf2fcfcb6f54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Tue, 11 Sep 2012 18:01:58 -0400 Subject: [PATCH] test: Flush opus encoder between tests --- tests/check/elements/opus.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/check/elements/opus.c b/tests/check/elements/opus.c index be5b2cf623..b7e36ff108 100644 --- a/tests/check/elements/opus.c +++ b/tests/check/elements/opus.c @@ -333,6 +333,11 @@ GST_START_TEST (test_opus_encode_properties) NULL); 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);