[vlc-devel] [PATCH] avcodec: Handle -vvv & more as AV_LOG_DEBUG

Marvin Scholz epirat07 at gmail.com
Tue Dec 10 13:03:28 CET 2019


LGTM

On 10 Dec 2019, at 13:01, Hugo Beauzée-Luyssen wrote:

> We started using -vvvv to enable extra logging in some modules, but 
> this
> value is not handled by this switch
> ---
>  modules/codec/avcodec/avcommon.h | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/modules/codec/avcodec/avcommon.h 
> b/modules/codec/avcodec/avcommon.h
> index 1962162a7e..671cde5c81 100644
> --- a/modules/codec/avcodec/avcommon.h
> +++ b/modules/codec/avcodec/avcommon.h
> @@ -95,9 +95,8 @@ static inline void vlc_init_avutil(vlc_object_t 
> *obj)
>          case VLC_MSG_DBG:
>              level = AV_LOG_VERBOSE;
>              break;
> -        case VLC_MSG_DBG+1:
> -            level = AV_LOG_DEBUG;
>          default:
> +            level = AV_LOG_DEBUG;
>              break;
>          }
>      }
> -- 
> 2.20.1
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list