forked from mirrors/gstreamer-rs
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