- Timestamp:
- 05/28/10 19:05:46 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/quicktime/MovieData.cpp
r11035 r11529 89 89 if (status !=0) { 90 90 _fError = true; 91 osg::notify(osg::FATAL)<< " MovieData :: NewMovieFromProperties failed with err " << status<< std::endl;91 OSG_FATAL << " MovieData :: NewMovieFromProperties failed with err " << status<< std::endl; 92 92 return; 93 93 } … … 153 153 154 154 if (_pointer == NULL) { 155 osg::notify(osg::FATAL)<< "MovieData: " << "Can't allocate texture buffer" << std::endl;155 OSG_FATAL << "MovieData: " << "Can't allocate texture buffer" << std::endl; 156 156 _fError= true; 157 157 } … … 191 191 192 192 if (err !=0 ) 193 osg::notify(osg::FATAL) << "MovieData : Could not create gWorld" << std::endl; 194 193 { 194 OSG_FATAL << "MovieData : Could not create gWorld" << std::endl; 195 } 196 195 197 GetGWorld (&origPort, &origDevice); 196 198 SetGWorld(_gw, NULL); // set current graphics port to offscreen … … 204 206 if (!LockPixels (pixmap)) // lock offscreen pixel map 205 207 { 206 osg::notify(osg::FATAL)<< "Could not lock PixMap" << std::endl;208 OSG_FATAL << "Could not lock PixMap" << std::endl; 207 209 ExitToShell (); 208 210 } … … 210 212 else 211 213 { 212 osg::notify(osg::FATAL)<< "Could not GetGWorldPixMap" << std::endl;214 OSG_FATAL << "Could not GetGWorldPixMap" << std::endl; 213 215 ExitToShell (); 214 216 } … … 231 233 232 234 void MovieData::setMovieRate(float rate) { 233 // osg::notify(osg::ALWAYS)<< "new movierate: " << rate << " current: " << getMovieRate() << std::endl;235 // OSG_ALWAYS << "new movierate: " << rate << " current: " << getMovieRate() << std::endl; 234 236 _movieRate = rate; 235 237 if ((rate != 0) && (_preRolled == false)) {
