mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
test: Flush opus encoder between tests
This commit is contained in:
parent
7a7267b402
commit
23acf753a8
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue