Changeset 7594 for OpenSceneGraph/trunk/examples/osgmovie/osgmovie.cpp
- Timestamp:
- 11/17/07 12:50:13 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgmovie/osgmovie.cpp
r7585 r7594 348 348 arguments.getApplicationUsage()->addCommandLineOption("--interactive","Use camera manipulator to allow movement around movie."); 349 349 arguments.getApplicationUsage()->addCommandLineOption("--flip","Flip the movie so top becomes bottom."); 350 arguments.getApplicationUsage()->addCommandLineOption("--devices","Print the Video input capability via QuickTime and exit."); 350 351 351 352 bool useTextureRectangle = true; … … 358 359 { 359 360 arguments.getApplicationUsage()->write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION); 361 return 1; 362 } 363 364 // if user requests devices video capability. 365 if (arguments.read("-devices") || arguments.read("--devices")) 366 { 367 // Force load QuickTime plugin, probe video capability, exit 368 osgDB::readImageFile("devices.live"); 360 369 return 1; 361 370 }
