mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-23 00:26:31 +00:00
examples/player: set_uri now allows None to be passed in
This commit is contained in:
parent
13165938ab
commit
64ec364259
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ fn main_loop(uri: &str) -> Result<(), Error> {
|
|||
);
|
||||
|
||||
// Tell the player what uri to play.
|
||||
player.set_uri(uri);
|
||||
player.set_uri(Some(uri));
|
||||
|
||||
let error = Arc::new(Mutex::new(Ok(())));
|
||||
|
||||
|
|
Loading…
Reference in a new issue