changed debug info to output to INFO instaed of NOTICE.
This commit is contained in:
@@ -32,7 +32,7 @@ FFmpegDecoderVideo::FFmpegDecoderVideo(PacketQueue & packets, FFmpegClocks & clo
|
||||
|
||||
FFmpegDecoderVideo::~FFmpegDecoderVideo()
|
||||
{
|
||||
osg::notify(osg::NOTICE)<<"Destructing FFmpegDecoderVideo..."<<std::endl;
|
||||
osg::notify(osg::INFO)<<"Destructing FFmpegDecoderVideo..."<<std::endl;
|
||||
|
||||
|
||||
if (isRunning())
|
||||
@@ -53,7 +53,7 @@ FFmpegDecoderVideo::~FFmpegDecoderVideo()
|
||||
}
|
||||
#endif
|
||||
|
||||
osg::notify(osg::NOTICE)<<"Destructed FFmpegDecoderVideo"<<std::endl;
|
||||
osg::notify(osg::INFO)<<"Destructed FFmpegDecoderVideo"<<std::endl;
|
||||
}
|
||||
|
||||
|
||||
@@ -246,21 +246,21 @@ int FFmpegDecoderVideo::convert(AVPicture *dst, int dst_pix_fmt, const AVPicture
|
||||
}
|
||||
|
||||
|
||||
osg::notify(osg::NOTICE)<<"Using sws_scale ";
|
||||
osg::notify(osg::INFO)<<"Using sws_scale ";
|
||||
|
||||
int result = sws_scale(m_swscale_ctx,
|
||||
src->data, src->linesize, 0, src_height,
|
||||
dst->data, dst->linesize);
|
||||
#else
|
||||
|
||||
osg::notify(osg::NOTICE)<<"Using img_convert ";
|
||||
osg::notify(osg::INFO)<<"Using img_convert ";
|
||||
|
||||
int result = img_convert(dst, dst_pix_fmt, src,
|
||||
src_pix_fmt, src_width, src_height);
|
||||
|
||||
#endif
|
||||
osg::Timer_t endTick = osg::Timer::instance()->tick();
|
||||
osg::notify(osg::NOTICE)<<" time = "<<osg::Timer::instance()->delta_m(startTick,endTick)<<"ms"<<std::endl;
|
||||
osg::notify(osg::INFO)<<" time = "<<osg::Timer::instance()->delta_m(startTick,endTick)<<"ms"<<std::endl;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user