Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 1, 2006, 7:58:56 PM (18 years ago)
Author:
hdavid
Message:

branches\avi_play: removed memory leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/avi_play/src/subprojects/importer/movie_player_test.cc

    r6353 r6382  
    2222
    2323MoviePlayer* movie_player;
     24float start_time;
    2425
    2526void Framework::moduleInit(int argc, char** argv)
    2627{
     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
    2735  movie_player = new MoviePlayer(argv[1]);
    28 
    2936  movie_player->printInformation();
     37 
     38  //start_time = atoi(argv[2]);
     39  start_time = 0;
    3040}
    3141
     
    3848      {
    3949        case SDLK_1:
    40           movie_player->start(0);
     50          movie_player->start(start_time);
    4151          break;
    4252        case SDLK_2:
Note: See TracChangeset for help on using the changeset viewer.