- Timestamp:
- 05/28/10 18:39:08 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp
r11177 r11508 56 56 FFmpegDecoderVideo::~FFmpegDecoderVideo() 57 57 { 58 osg::notify(osg::INFO)<<"Destructing FFmpegDecoderVideo..."<<std::endl;58 OSG_INFO<<"Destructing FFmpegDecoderVideo..."<<std::endl; 59 59 60 60 … … 77 77 #endif 78 78 79 osg::notify(osg::INFO)<<"Destructed FFmpegDecoderVideo"<<std::endl;79 OSG_INFO<<"Destructed FFmpegDecoderVideo"<<std::endl; 80 80 } 81 81 … … 158 158 catch (const std::exception & error) 159 159 { 160 osg::notify(osg::WARN)<< "FFmpegDecoderVideo::run : " << error.what() << std::endl;160 OSG_WARN << "FFmpegDecoderVideo::run : " << error.what() << std::endl; 161 161 } 162 162 163 163 catch (...) 164 164 { 165 osg::notify(osg::WARN)<< "FFmpegDecoderVideo::run : unhandled exception" << std::endl;165 OSG_WARN << "FFmpegDecoderVideo::run : unhandled exception" << std::endl; 166 166 } 167 167 } … … 283 283 284 284 285 osg::notify(osg::INFO)<<"Using sws_scale ";285 OSG_INFO<<"Using sws_scale "; 286 286 287 287 int result = sws_scale(m_swscale_ctx, … … 290 290 #else 291 291 292 osg::notify(osg::INFO)<<"Using img_convert ";292 OSG_INFO<<"Using img_convert "; 293 293 294 294 int result = img_convert(dst, dst_pix_fmt, src, … … 297 297 #endif 298 298 osg::Timer_t endTick = osg::Timer::instance()->tick(); 299 osg::notify(osg::INFO)<<" time = "<<osg::Timer::instance()->delta_m(startTick,endTick)<<"ms"<<std::endl;299 OSG_INFO<<" time = "<<osg::Timer::instance()->delta_m(startTick,endTick)<<"ms"<<std::endl; 300 300 301 301 return result;
