diff mbox

[FFmpeg-devel,7/7] avcodec/ffv1enc: remove warning about transparency

Message ID df38e64a-3099-6020-335f-8de39859af2f@mediaarea.net
State Accepted
Commit 00035a6b4a9fcb4a9756fd4a3a01a196575e0d35
Headers show

Commit Message

Jerome Martinez March 7, 2018, 4:05 p.m. UTC
The message about the need of a recent FFmpeg version when encoding 
alpha plane is 5+ year old, not really relevant anymore.

This patch removes the message.
From 8e3bbad708b5a3a24920133c5bef0b7399375393 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Martinez?= <jerome@mediaarea.net>
Date: Wed, 7 Mar 2018 13:26:36 +0100
Subject: [PATCH 7/7] avcodec/ffv1enc: remove warning about transparency

---
 libavcodec/ffv1enc.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Michael Niedermayer March 9, 2018, 1:41 a.m. UTC | #1
On Wed, Mar 07, 2018 at 05:05:29PM +0100, Jerome Martinez wrote:
> The message about the need of a recent FFmpeg version when encoding alpha
> plane is 5+ year old, not really relevant anymore.
> 
> This patch removes the message.

>  ffv1enc.c |    3 ---
>  1 file changed, 3 deletions(-)
> 180adaf36af61949c1a73b3358d417580d8fcec4  0007-avcodec-ffv1enc-remove-warning-about-transparency.patch
> From 8e3bbad708b5a3a24920133c5bef0b7399375393 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Martinez?= <jerome@mediaarea.net>
> Date: Wed, 7 Mar 2018 13:26:36 +0100
> Subject: [PATCH 7/7] avcodec/ffv1enc: remove warning about transparency
> 
> ---
>  libavcodec/ffv1enc.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c
> index f0f9eaba79..c6e11a3f55 100644
> --- a/libavcodec/ffv1enc.c
> +++ b/libavcodec/ffv1enc.c
> @@ -699,9 +699,6 @@ FF_ENABLE_DEPRECATION_WARNINGS
>              s->ac = AC_RANGE_CUSTOM_TAB;
>          }
>      }
> -    if (s->transparency) {
> -        av_log(avctx, AV_LOG_WARNING, "Storing alpha plane, this will require a recent FFV1 decoder to playback!\n");
> -    }

will apply

thx

[...]
diff mbox

Patch

diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c
index f0f9eaba79..c6e11a3f55 100644
--- a/libavcodec/ffv1enc.c
+++ b/libavcodec/ffv1enc.c
@@ -699,9 +699,6 @@  FF_ENABLE_DEPRECATION_WARNINGS
             s->ac = AC_RANGE_CUSTOM_TAB;
         }
     }
-    if (s->transparency) {
-        av_log(avctx, AV_LOG_WARNING, "Storing alpha plane, this will require a recent FFV1 decoder to playback!\n");
-    }
 #if FF_API_PRIVATE_OPT
 FF_DISABLE_DEPRECATION_WARNINGS
     if (avctx->context_model)