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
diff options
context:
space:
mode:
-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();