next.m 620 B

1234567891011121314151617181920
  1. function worked = next(vr)
  2. %WORKED=NEXT(VR)
  3. % Advances to the next frame in the video. Returns 0 if the next frame is
  4. % not available.
  5. %
  6. % After the videoReader constructor is called, NEXT, SEEK, or STEP should
  7. % be called at least once before GETFRAME is called.
  8. %
  9. % See videoReader/getinfo for more details on how many frames can be read
  10. % from a video.
  11. %
  12. %SEE ALSO
  13. % videoReader
  14. %
  15. %Copyright (c) 2006 Gerald Dalley
  16. %See "MIT.txt" in the installation directory for licensing details (especially
  17. %when using this library on GNU/Linux).
  18. worked = feval(vr.plugin, 'next', vr.handle);