Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 30, 2005, 1:36:40 PM (18 years ago)
Author:
hdavid
Message:

branches\avi_play

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/avi_play/src/lib/graphics/importer/media_container.cc

    r6339 r6350  
    142142void MediaContainer::loadFrames()
    143143{
     144  // empty texture list
     145  this->clearLists();
     146
    144147  // go to the begin of the video
    145148  av_seek_frame(format_context, video_stream, 0, AVSEEK_FLAG_BACKWARD);
     
    152155GLuint MediaContainer::getNextFrame()
    153156{
     157  //if (glIsTexture(texture))
     158  //  glDeleteTextures(1, &texture);
     159
    154160  // get next frame
    155161  if(av_read_frame(format_context, &packet) >= 0)
Note: See TracChangeset for help on using the changeset viewer.