defaultVideoIOPlugin.m 561 B

1234567891011121314151617181920
  1. function pluginName = defaultVideoIOPlugin
  2. %pluginName = defaultVideoIOPlugin
  3. % Returns the name of the default videoIO (videoReader/videoWriter) plugin.
  4. % The videoReader and videoWriter constructors will use the returned plugin if
  5. % none is specified.
  6. %
  7. % SEE ALSO:
  8. % buildVideoIO
  9. % videoReader
  10. % videoWriter
  11. %
  12. %Copyright (c) 2007 Gerald Dalley
  13. %See "MIT.txt" in the installation directory for licensing details (especially
  14. %when using this library on GNU/Linux).
  15. if ispc
  16. pluginName = 'DirectShow';
  17. else
  18. pluginName = 'ffmpegPopen2';
  19. end