mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-28 20:41:31 +00:00
examples: Use .set_property_from_value for setting flags from Value
This commit is contained in:
parent
56b7c1916f
commit
15295f299f
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue