diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2020-06-11 13:45:15 +0300 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2020-06-11 14:07:01 +0300 |
commit | e85799b9d6ba89e3f3e76a5d092bc7145121af03 (patch) | |
tree | fd7a55babaeee17f4db46bbf04585566cecf02fe /generic/sodium/tests/encrypter.rs | |
parent | ed4fa7fde40506888947dadb5632b880fc7aaba6 (diff) |
use new constructor names
Diffstat (limited to 'generic/sodium/tests/encrypter.rs')
-rw-r--r-- | generic/sodium/tests/encrypter.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/sodium/tests/encrypter.rs b/generic/sodium/tests/encrypter.rs index e2f6dc83a..b7b92fe2d 100644 --- a/generic/sodium/tests/encrypter.rs +++ b/generic/sodium/tests/encrypter.rs @@ -83,7 +83,7 @@ fn encrypt_file() { enc.set_property("block-size", &1024u32) .expect("failed to set property"); - let mut h = gst_check::Harness::new_with_element(&enc, None, None); + let mut h = gst_check::Harness::with_element(&enc, None, None); h.add_element_src_pad(&enc.get_static_pad("src").expect("failed to get src pad")); h.add_element_sink_pad(&enc.get_static_pad("sink").expect("failed to get src pad")); h.set_src_caps_str("application/x-sodium-encrypted"); |