Changeset 6324 in orxonox.OLD for branches/avi_play/src/subprojects
- Timestamp:
- Dec 27, 2005, 10:25:48 PM (19 years ago)
- Location:
- branches/avi_play/src/subprojects/importer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/avi_play/src/subprojects/importer/movie_player_test.cc
r6323 r6324 28 28 29 29 movie_player->printInformation(); 30 31 movie_player->start(0);32 30 } 33 31 … … 41 39 case SDLK_1: 42 40 movie_player->start(0); 43 PRINTF(0)("Start\n");44 41 break; 45 42 case SDLK_2: 46 43 movie_player->resume(); 47 PRINTF(0)("Play-/Resuming\n");48 44 break; 49 45 case SDLK_3: 50 46 movie_player->pause(); 51 PRINTF(0)("Pause\n");52 47 break; 53 48 case SDLK_4: 54 49 movie_player->stop(); 55 PRINTF(0)("Stopped\n");56 50 break; 57 51 } -
branches/avi_play/src/subprojects/importer/multitex.cc
r6290 r6324 52 52 fps = movie->getFPS(); 53 53 54 int start_ time = atoi(argv[2]);54 int start_frame = atoi(argv[2]); 55 55 56 56 // print information about the media file … … 64 64 //while(seq->addFrame(movie->getNextFrame()) != NULL); 65 65 // get a list of frames 66 seq->addFrame(movie->getFrame(start_time));66 movie->gotoFrame(start_frame); 67 67 seq->addFrameList(movie->getFrameList()); 68 68
Note: See TracChangeset
for help on using the changeset viewer.