mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +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);
|
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…
Reference in a new issue