test: Flush opus encoder between tests

This commit is contained in:
Olivier Crête 2012-09-11 18:02:28 -04:00
parent f4f714fc6b
commit 24fa2ac653

View file

@ -337,7 +337,7 @@ GST_START_TEST (test_opus_encode_properties)
fail_unless (gst_pad_push_event (myencsrcpad, fail_unless (gst_pad_push_event (myencsrcpad,
gst_event_new_flush_start ()) == TRUE); gst_event_new_flush_start ()) == TRUE);
fail_unless (gst_pad_push_event (myencsrcpad, fail_unless (gst_pad_push_event (myencsrcpad,
gst_event_new_flush_stop (FALSE)) == TRUE); gst_event_new_flush_stop (TRUE)) == TRUE);
} }
gst_caps_unref (caps); gst_caps_unref (caps);