diff options
author | Olivier Crête <olivier.crete@collabora.com> | 2012-09-11 18:01:58 -0400 |
---|---|---|
committer | Olivier Crête <olivier.crete@collabora.com> | 2012-09-11 18:01:58 -0400 |
commit | 23acf753a81ebd81dd3230ee4a42bf2fcfcb6f54 (patch) | |
tree | 5913f17b1ee34dccfcc9813fa82227e8fcddf131 /tests/check | |
parent | 7a7267b4028530869557fdbee4710c4bc9aeba38 (diff) |
test: Flush opus encoder between tests
Diffstat (limited to 'tests/check')
-rw-r--r-- | tests/check/elements/opus.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/check/elements/opus.c b/tests/check/elements/opus.c index be5b2cf62..b7e36ff10 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); |