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/threadshare/tests/inputselector.rs | |
parent | ed4fa7fde40506888947dadb5632b880fc7aaba6 (diff) |
use new constructor names
Diffstat (limited to 'generic/threadshare/tests/inputselector.rs')
-rw-r--r-- | generic/threadshare/tests/inputselector.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/threadshare/tests/inputselector.rs b/generic/threadshare/tests/inputselector.rs index 9401abda4..cc7489f37 100644 --- a/generic/threadshare/tests/inputselector.rs +++ b/generic/threadshare/tests/inputselector.rs @@ -34,8 +34,8 @@ fn test_active_pad() { let is = gst::ElementFactory::make("ts-input-selector", None).unwrap(); - let mut h1 = gst_check::Harness::new_with_element(&is, Some("sink_%u"), Some("src")); - let mut h2 = gst_check::Harness::new_with_element(&is, Some("sink_%u"), None); + let mut h1 = gst_check::Harness::with_element(&is, Some("sink_%u"), Some("src")); + let mut h2 = gst_check::Harness::with_element(&is, Some("sink_%u"), None); let active_pad = is .get_property("active-pad") |