PR #21736 opened by Kacper Michajłow (kasper93)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21736
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21736.patch


From 57c676552199d3bab0001e64f4b258f0c76ba18a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= <[email protected]>
Date: Wed, 11 Feb 2026 18:15:08 +0100
Subject: [PATCH 1/2] avcodec/bsf/dovi_rpu: fix typo
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Kacper Michajłow <[email protected]>
---
 libavcodec/bsf/dovi_rpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/bsf/dovi_rpu.c b/libavcodec/bsf/dovi_rpu.c
index 84b271f736..9fb47f3ab3 100644
--- a/libavcodec/bsf/dovi_rpu.c
+++ b/libavcodec/bsf/dovi_rpu.c
@@ -84,7 +84,7 @@ static int dovi_rpu_update_fragment_hevc(AVBSFContext *bsf, 
AVPacket *pkt,
     uint8_t *rpu = NULL;
     int rpu_size, ret;
 
-    // HEVC_NAL_UNSPEC62 is Dolby Vision PRU and HEVC_NAL_UNSPEC63 is Dolby 
Vision EL
+    // HEVC_NAL_UNSPEC62 is Dolby Vision RPU and HEVC_NAL_UNSPEC63 is Dolby 
Vision EL
     if (!nal || (nal->type != HEVC_NAL_UNSPEC62 && nal->type != 
HEVC_NAL_UNSPEC63))
         return 0;
 
-- 
2.52.0


From 945b5e54e8283af71916c363346c47bfa8ecdfb2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= <[email protected]>
Date: Wed, 11 Feb 2026 18:15:39 +0100
Subject: [PATCH 2/2] avcodec/hevc/hevcdec: skip logging 'Skipping NAL unit 63'
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

We know that this is Dolby Vision Enhancement Layer and while it's not
handled, we can just reduce log spam for this, as it's if fact
recognized.

Signed-off-by: Kacper Michajłow <[email protected]>
---
 libavcodec/hevc/hevcdec.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/hevc/hevcdec.c b/libavcodec/hevc/hevcdec.c
index 531d1c26f3..1d989e18ab 100644
--- a/libavcodec/hevc/hevcdec.c
+++ b/libavcodec/hevc/hevcdec.c
@@ -3665,7 +3665,8 @@ static int decode_nal_unit(HEVCContext *s, unsigned 
nal_idx)
     case HEVC_NAL_EOB_NUT:
     case HEVC_NAL_AUD:
     case HEVC_NAL_FD_NUT:
-    case HEVC_NAL_UNSPEC62:
+    case HEVC_NAL_UNSPEC62: // Dolby Vision RPU
+    case HEVC_NAL_UNSPEC63: // Dolby Vision EL
         break;
     default:
         av_log(s->avctx, AV_LOG_INFO,
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to