diff mbox series

[FFmpeg-devel,v1,2/6] avformat/nut: Added EVC codec tag to the list of supported codec_id-codec_tag pairs for NUT muxer

Message ID 20240417052319.1399-1-d.kozinski@samsung.com
State New
Headers show
Series [FFmpeg-devel,v1,1/6] avcodec/evc: Set the AV_FRAME_FLAG_KEY flag for a decoded frame when the decoded packet contains a keyframe | expand

Checks

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

Commit Message

Dawid Kozinski April 17, 2024, 5:23 a.m. UTC
Signed-off-by: Dawid Kozinski <d.kozinski@samsung.com>
---
 libavformat/nut.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Andreas Rheinhardt April 17, 2024, 8:25 a.m. UTC | #1
Dawid Kozinski:
> Signed-off-by: Dawid Kozinski <d.kozinski@samsung.com>
> ---
>  libavformat/nut.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavformat/nut.c b/libavformat/nut.c
> index 9692336ece..8c536719b1 100644
> --- a/libavformat/nut.c
> +++ b/libavformat/nut.c
> @@ -47,6 +47,7 @@ const AVCodecTag ff_nut_video_tags[] = {
>      { AV_CODEC_ID_VP9,              MKTAG('V', 'P', '9', '0') },
>      { AV_CODEC_ID_HEVC,             MKTAG('H', 'E', 'V', 'C') },
>      { AV_CODEC_ID_CPIA,             MKTAG('C', 'P', 'i', 'A') },
> +    { AV_CODEC_ID_EVC,              MKTAG('e', 'v', 'c', '1') },
>      { AV_CODEC_ID_RAWVIDEO,         MKTAG('R', 'G', 'B', 15 ) },
>      { AV_CODEC_ID_RAWVIDEO,         MKTAG('B', 'G', 'R', 15 ) },
>      { AV_CODEC_ID_RAWVIDEO,         MKTAG('R', 'G', 'B', 16 ) },

The nut muxer also uses the riff/avi tags, so this patch is unnecessary
with patch 4/6.

- Andreas
diff mbox series

Patch

diff --git a/libavformat/nut.c b/libavformat/nut.c
index 9692336ece..8c536719b1 100644
--- a/libavformat/nut.c
+++ b/libavformat/nut.c
@@ -47,6 +47,7 @@  const AVCodecTag ff_nut_video_tags[] = {
     { AV_CODEC_ID_VP9,              MKTAG('V', 'P', '9', '0') },
     { AV_CODEC_ID_HEVC,             MKTAG('H', 'E', 'V', 'C') },
     { AV_CODEC_ID_CPIA,             MKTAG('C', 'P', 'i', 'A') },
+    { AV_CODEC_ID_EVC,              MKTAG('e', 'v', 'c', '1') },
     { AV_CODEC_ID_RAWVIDEO,         MKTAG('R', 'G', 'B', 15 ) },
     { AV_CODEC_ID_RAWVIDEO,         MKTAG('B', 'G', 'R', 15 ) },
     { AV_CODEC_ID_RAWVIDEO,         MKTAG('R', 'G', 'B', 16 ) },