forked from mirrors/gstreamer-rs
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")
|
// .unset_by_nick("video")
|
||||||
// .build()
|
// .build()
|
||||||
// .unwrap();
|
// .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.
|
// 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.
|
// For this, the playbin provides signals notifying about changes in the metadata.
|
||||||
|
|
Loading…
Reference in a new issue