test: Flush opus encoder between tests

This commit is contained in:
Olivier Crête 2012-09-11 18:01:58 -04:00
parent 7a7267b402
commit 23acf753a8

View file

@ -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);