Show
Ignore:
Timestamp:
12/15/09 12:27:28 (3 years ago)
Author:
robert
Message:

From Julen Garcia, "So here is the code with a proper audio sync (at least in my computer)"

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp

    r10851 r10892  
    368368        throw std::runtime_error("av_seek_frame failed()"); 
    369369 
     370    m_clocks.rewind(); 
    370371    m_state = REWINDING; 
    371372} 
     
    393394        throw std::runtime_error("av_seek_frame failed()"); 
    394395 
     396    m_clocks.seek(time); 
    395397    m_state = SEEKING;     
    396398}