From 53631ac3fee6fe159b46d6603da0bfed34b663c1 Mon Sep 17 00:00:00 2001 From: stan Date: Thu, 25 Sep 2008 11:16:59 +0000 Subject: [PATCH] Modified ffmpeg logging git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2629 e3e1d417-86f3-4887-817a-d78f3d33393f --- src/zm_remote_camera_rtsp.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/zm_remote_camera_rtsp.cpp b/src/zm_remote_camera_rtsp.cpp index a1a7e16d1..f271bfa3f 100644 --- a/src/zm_remote_camera_rtsp.cpp +++ b/src/zm_remote_camera_rtsp.cpp @@ -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();