Modified ffmpeg logging

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2629 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2008-09-25 11:16:59 +00:00
parent ba788cc001
commit 53631ac3fe
1 changed files with 3 additions and 1 deletions

View File

@ -66,7 +66,9 @@ void RemoteCameraRtsp::Initialise()
buffer.Size( max_size );
if ( zm_dbg_level > ZM_DBG_INF )
av_log_set_level(99);
av_log_set_level( AV_LOG_DEBUG );
else
av_log_set_level( AV_LOG_QUIET );
/* must be called before using avcodec lib */
avcodec_init();