mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-25 19:40:29 +00:00
uriplaylistbin: tests: use fakesink sync=true
Tests is more reliable when using sync sink. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1471>
This commit is contained in:
parent
721b7e9c8c
commit
cfebc32b82
1 changed files with 4 additions and 1 deletions
|
@ -114,7 +114,10 @@ fn test(
|
|||
return;
|
||||
};
|
||||
|
||||
let sink = gst::ElementFactory::make("fakesink").build().unwrap();
|
||||
let sink = gst::ElementFactory::make("fakesink")
|
||||
.property("sync", true)
|
||||
.build()
|
||||
.unwrap();
|
||||
pipeline.add(&sink).unwrap();
|
||||
sink.sync_state_with_parent().unwrap();
|
||||
|
||||
|
|
Loading…
Reference in a new issue