Fix Readme

merge-requests/7/merge
T. Okubo 2016-01-28 20:15:26 +09:00
parent 48d22b29f7
commit 9fbd450446
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ git = "https://github.com/Orenantedose/vlc-rs.git"
```
## Example
Play for 10 seconds from an media file.
Play for 10 seconds from a media file.
```Rust
extern crate vlc;
use vlc::{Instance, Media, MediaPlayer};
@ -32,7 +32,7 @@ fn main() {
mdp.play().unwrap();
// Wait for 10 seconds
thread::sleep_ms(10000);
thread::sleep(::std::time::Duration::from_secs(10));
}
```