diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2021-11-20 11:47:02 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2021-11-20 11:47:02 +0300 |
commit | 288acaa7ccb596e63af47b8ef7b8408a84f973b3 (patch) | |
tree | 3be257c322996a620677bfeb133d585cc023c9b6 /video/cdg | |
parent | 5285fab8b3fef3319c87dc63412947e2a0847150 (diff) |
cdg: Update test for child proxy property API changes
Diffstat (limited to 'video/cdg')
-rw-r--r-- | video/cdg/tests/cdgdec.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/video/cdg/tests/cdgdec.rs b/video/cdg/tests/cdgdec.rs index 26305a39a..7ee83a1ac 100644 --- a/video/cdg/tests/cdgdec.rs +++ b/video/cdg/tests/cdgdec.rs @@ -39,13 +39,9 @@ fn test_cdgdec() { filesrc.set_property("location", input_path.to_str().unwrap()); { let child_proxy = filesrc.dynamic_cast_ref::<gst::ChildProxy>().unwrap(); - child_proxy - .set_child_property("real-filesrc::num-buffers", &1) - .expect("failed to set 'num-buffers' property"); + child_proxy.set_child_property("real-filesrc::num-buffers", 1); let blocksize: u32 = 24; // One CDG instruction - child_proxy - .set_child_property("real-filesrc::blocksize", &blocksize) - .expect("failed to set 'blocksize' property"); + child_proxy.set_child_property("real-filesrc::blocksize", blocksize); } let parse = gst::ElementFactory::make("cdgparse", None).unwrap(); |