Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/video/cdg
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2021-11-20 11:47:02 +0300
committerSebastian Dröge <sebastian@centricular.com>2021-11-20 11:47:02 +0300
commit288acaa7ccb596e63af47b8ef7b8408a84f973b3 (patch)
tree3be257c322996a620677bfeb133d585cc023c9b6 /video/cdg
parent5285fab8b3fef3319c87dc63412947e2a0847150 (diff)
cdg: Update test for child proxy property API changes
Diffstat (limited to 'video/cdg')
-rw-r--r--video/cdg/tests/cdgdec.rs8
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();