- Timestamp:
- 05/28/10 18:39:08 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/FFmpegImageStream.cpp
r10961 r11508 40 40 FFmpegImageStream::~FFmpegImageStream() 41 41 { 42 osg::notify(osg::INFO)<<"Destructing FFmpegImageStream..."<<std::endl;42 OSG_INFO<<"Destructing FFmpegImageStream..."<<std::endl; 43 43 44 44 quit(true); 45 45 46 osg::notify(osg::INFO)<<"Have done quit"<<std::endl;46 OSG_INFO<<"Have done quit"<<std::endl; 47 47 48 48 // release athe audio streams to make sure that the decoder doesn't retain any external … … 56 56 delete m_commands; 57 57 58 osg::notify(osg::INFO)<<"Destructed FFMpegImageStream."<<std::endl;58 OSG_INFO<<"Destructed FFMpegImageStream."<<std::endl; 59 59 } 60 60 … … 76 76 setPixelAspectRatio(m_decoder->video_decoder().pixelAspectRatio()); 77 77 78 osg::notify(osg::NOTICE)<<"ffmpeg::open("<<filename<<") size("<<s()<<", "<<t()<<") aspect ratio "<<m_decoder->video_decoder().pixelAspectRatio()<<std::endl;78 OSG_NOTICE<<"ffmpeg::open("<<filename<<") size("<<s()<<", "<<t()<<") aspect ratio "<<m_decoder->video_decoder().pixelAspectRatio()<<std::endl; 79 79 80 80 #if 1 … … 88 88 if (m_decoder->audio_decoder().validContext()) 89 89 { 90 osg::notify(osg::NOTICE)<<"Attaching FFmpegAudioStream"<<std::endl;90 OSG_NOTICE<<"Attaching FFmpegAudioStream"<<std::endl; 91 91 92 92 getAudioStreams().push_back(new FFmpegAudioStream(m_decoder.get())); … … 219 219 catch (const std::exception & error) 220 220 { 221 osg::notify(osg::WARN)<< "FFmpegImageStream::run : " << error.what() << std::endl;221 OSG_WARN << "FFmpegImageStream::run : " << error.what() << std::endl; 222 222 } 223 223 224 224 catch (...) 225 225 { 226 osg::notify(osg::WARN)<< "FFmpegImageStream::run : unhandled exception" << std::endl;226 OSG_WARN << "FFmpegImageStream::run : unhandled exception" << std::endl; 227 227 } 228 228 229 osg::notify(osg::NOTICE)<<"Finished FFmpegImageStream::run()"<<std::endl;229 OSG_NOTICE<<"Finished FFmpegImageStream::run()"<<std::endl; 230 230 } 231 231
