Guest User

Untitled

a guest
Jun 19th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. let mut progress: Vec<f32> = Vec::new();
  2. if buffer
  3. .copy_to_slice(
  4. 0,
  5. progress.as_mut_slice().as_mut_byte_slice().unwrap(),
  6. )
  7. .is_err()
  8. {
  9. return gst::FlowReturn::Error;
  10. }
Add Comment
Please, Sign In to add comment