From 15295f299f4224620d339ca6dfd161bc918a4258 Mon Sep 17 00:00:00 2001 From: yatinmaan Date: Thu, 22 Apr 2021 21:02:39 +0530 Subject: [PATCH] examples: Use .set_property_from_value for setting flags from Value --- examples/src/bin/playbin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/src/bin/playbin.rs b/examples/src/bin/playbin.rs index e2756b3cc..4c8593277 100644 --- a/examples/src/bin/playbin.rs +++ b/examples/src/bin/playbin.rs @@ -41,7 +41,7 @@ fn example_main() { // .unset_by_nick("video") // .build() // .unwrap(); - // playbin.set_property("flags", &flags).unwrap(); + // playbin.set_property_from_value("flags", &flags).unwrap(); // The playbin also provides any kind of metadata that it found in the played stream. // For this, the playbin provides signals notifying about changes in the metadata.