examples: Use .set_property_from_value for setting flags from Value

This commit is contained in:
yatinmaan 2021-04-22 21:02:39 +05:30 committed by Sebastian Dröge
parent 56b7c1916f
commit 15295f299f

View file

@ -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.