Show
Ignore:
Timestamp:
08/24/04 10:43:53 (10 years ago)
Author:
robert
Message:

Made the command buffer have 20 elements in it to protect against wrapping
around.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/mpeg/MpegImageStream.h

    r3285 r3314  
    3535#include <OpenThreads/Mutex> 
    3636 
    37 #define NUM_CMD_INDEX 4 
     37#define NUM_CMD_INDEX 20 
    3838 
    3939namespace osg { 
     
    7171 
    7272        /// Rewind stream to beginning. 
    73         virtual void rewind() { setCmd(THREAD_REWIND); } 
     73        virtual void rewind() 
     74        { 
     75            osg::notify(osg::INFO)<<"Rewind video"<<this<<std::endl; 
     76            setCmd(THREAD_REWIND); 
     77        } 
    7478 
    7579        virtual void quit(bool wiatForThreadToExit);