diff mbox series

[FFmpeg-devel] lavfi/vf_dnn_processing.c: Fix missing AV_PIX_FMT_GRAY8

Message ID 20221102150712.34318-1-thilo.borgmann@mail.de
State Accepted
Commit 3b375a0c5ce42803926ac5d294d18b1f9b593dca
Headers show
Series [FFmpeg-devel] lavfi/vf_dnn_processing.c: Fix missing AV_PIX_FMT_GRAY8 | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 fail Make failed
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Thilo Borgmann Nov. 2, 2022, 3:07 p.m. UTC
From: Cosmin Stejerean <cstejerean@fb.com>

Has been removed by mistake in 2003e32f62d94ba75b59d70632c9f2862b383591, readd it to the switch cases.

Signed-off-by: Thilo Borgmann <thilo.borgmann@mail.de>
---
 libavfilter/vf_dnn_processing.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Thilo Borgmann Nov. 10, 2022, 11:22 a.m. UTC | #1
Am 02.11.22 um 16:07 schrieb Thilo Borgmann:
> From: Cosmin Stejerean <cstejerean@fb.com>
> 
> Has been removed by mistake in 2003e32f62d94ba75b59d70632c9f2862b383591, readd it to the switch cases.
> 
> Signed-off-by: Thilo Borgmann <thilo.borgmann@mail.de>
> ---
>   libavfilter/vf_dnn_processing.c | 1 +
>   1 file changed, 1 insertion(+)

Ping. Pushing soon if there are no comments.

-Thilo
Thilo Borgmann Nov. 15, 2022, 12:44 p.m. UTC | #2
Am 10.11.22 um 12:22 schrieb Thilo Borgmann:
> Am 02.11.22 um 16:07 schrieb Thilo Borgmann:
>> From: Cosmin Stejerean <cstejerean@fb.com>
>>
>> Has been removed by mistake in 2003e32f62d94ba75b59d70632c9f2862b383591, readd it to the switch cases.
>>
>> Signed-off-by: Thilo Borgmann <thilo.borgmann@mail.de>
>> ---
>>   libavfilter/vf_dnn_processing.c | 1 +
>>   1 file changed, 1 insertion(+)
> 
> Ping. Pushing soon if there are no comments.

Pushed.

Thanks,
Thilo
diff mbox series

Patch

diff --git a/libavfilter/vf_dnn_processing.c b/libavfilter/vf_dnn_processing.c
index cac096a19f..4462915073 100644
--- a/libavfilter/vf_dnn_processing.c
+++ b/libavfilter/vf_dnn_processing.c
@@ -110,6 +110,7 @@  static int check_modelinput_inlink(const DNNData *model_input, const AVFilterLin
             return AVERROR(EIO);
         }
         return 0;
+    case AV_PIX_FMT_GRAY8:
     case AV_PIX_FMT_GRAYF32:
     case AV_PIX_FMT_YUV420P:
     case AV_PIX_FMT_YUV422P: