mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 19:11:06 +00:00
tutorials: Change from set_property_with_value() to set_property_from_value()
This commit is contained in:
parent
06e0555555
commit
efb249f7b9
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ fn tutorial_main() -> Result<(), Error> {
|
||||||
.set_by_nick("download")
|
.set_by_nick("download")
|
||||||
.build()
|
.build()
|
||||||
.unwrap();
|
.unwrap();
|
||||||
pipeline.set_property_with_value("flags", &flags).unwrap();
|
pipeline.set_property_from_value("flags", &flags).unwrap();
|
||||||
|
|
||||||
// Uncomment this line to limit the amount of downloaded data.
|
// Uncomment this line to limit the amount of downloaded data.
|
||||||
// pipeline.set_property("ring-buffer-max-size", &4_000_000u64)?;
|
// pipeline.set_property("ring-buffer-max-size", &4_000_000u64)?;
|
||||||
|
|
Loading…
Reference in a new issue