Changeset 6382 in orxonox.OLD for branches/avi_play/src/subprojects/importer/movie_player_test.cc
- Timestamp:
- Jan 1, 2006, 7:58:56 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/avi_play/src/subprojects/importer/movie_player_test.cc
r6353 r6382 22 22 23 23 MoviePlayer* movie_player; 24 float start_time; 24 25 25 26 void Framework::moduleInit(int argc, char** argv) 26 27 { 28 if( argc <= 1) 29 { 30 printf("Wrong arguments try following notations:\n"); 31 printf("./movie_player_test [media_file]\n"); 32 exit(0); 33 } 34 27 35 movie_player = new MoviePlayer(argv[1]); 28 29 36 movie_player->printInformation(); 37 38 //start_time = atoi(argv[2]); 39 start_time = 0; 30 40 } 31 41 … … 38 48 { 39 49 case SDLK_1: 40 movie_player->start( 0);50 movie_player->start(start_time); 41 51 break; 42 52 case SDLK_2:
Note: See TracChangeset
for help on using the changeset viewer.