[vlc-commits] [Git][videolan/vlc][master] 5 commits: codec/videotoolbox: don't use an avcC or hvcC without parameter sets

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sat Nov 7 06:25:54 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
bea1b2bf by Felix Paul Kühne at 2026-11-07T07:06:06+01:00
codec/videotoolbox: don't use an avcC or hvcC without parameter sets

An avcC or hvcC without parameter sets was handed to VideoToolbox,
where session creation failed or every frame was rejected as bad
data, so the start is now deferred until the in-band parameter sets
have been gathered.

- - - - -
3e7d2df5 by Felix Paul Kühne at 2026-11-07T07:06:06+01:00
vlc_es: add the Dolby Vision compatibility id and compression

- - - - -
333dfca6 by Felix Paul Kühne at 2026-11-07T07:06:06+01:00
demux: mkv: read the Dolby Vision configuration record

- - - - -
96c6fc40 by Felix Paul Kühne at 2026-11-07T07:06:06+01:00
codec/videotoolbox: decode Dolby Vision profiles 5, 8.1 and 8.4

Profile 5 streams are now handed to VideoToolbox as dvh1 with a dvcC,
and profile 8.1 and 8.4 streams as hvc1 with a dvvC, so the RPU is
attached to the decoded buffers and applied on display. Otherwise,
the Dolby Vision metadata is cleared from the output format.

- - - - -
25b715a3 by Felix Paul Kühne at 2026-11-07T07:06:06+01:00
vout/vsbd: request the Dolby Vision display mode

- - - - -


12 changed files:

- include/vlc_es.h
- modules/codec/videotoolbox/decoder.c
- modules/codec/vt_utils.c
- modules/codec/vt_utils.h
- modules/demux/avformat/demux.c
- modules/demux/mkv/matroska_segment_parse.cpp
- modules/demux/mp4/essetup.c
- modules/demux/mp4/libmp4.c
- modules/demux/mp4/libmp4.h
- modules/misc/preparser_serializer/json/fromjson.c
- modules/misc/preparser_serializer/json/tojson.c
- modules/video_output/apple/VLCSampleBufferDisplay.m


Changes:

=====================================
include/vlc_es.h
=====================================
@@ -382,6 +382,8 @@ struct video_format_t
         unsigned rpu_present : 1;
         unsigned el_present : 1;
         unsigned bl_present : 1;
+        unsigned bl_signal_compatibility_id : 4;
+        unsigned md_compression : 2;
     } dovi;
     uint32_t i_cubemap_padding; /**< padding in pixels of the cube map faces */
 };


=====================================
modules/codec/videotoolbox/decoder.c
=====================================
@@ -74,7 +74,7 @@ static void RequestFlush(decoder_t *);
 static void Drain(decoder_t *p_dec, bool flush);
 static void DecoderCallback(void *, void *, OSStatus, VTDecodeInfoFlags,
                             CVPixelBufferRef, CMTime, CMTime);
-static Boolean deviceSupportsHEVC();
+static Boolean deviceSupportsHardwareDecode(CMVideoCodecType codec);
 static bool deviceSupports42010bitRendering();
 static Boolean deviceSupportsAdvancedProfiles();
 static Boolean deviceSupportsAdvancedLevels();
@@ -153,7 +153,8 @@ static OSType GetBestChroma(uint8_t i_chroma_format, uint8_t i_depth_luma,
             return kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange;
         if (i_depth_luma == 10 && i_depth_chroma == 10)
         {
-            if (deviceSupportsHEVC() && deviceSupports42010bitRendering())
+            if (deviceSupportsHardwareDecode(kCMVideoCodecType_HEVC) &&
+                deviceSupports42010bitRendering())
                 return kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange;
 
            /* Force BGRA output (and let VT handle the tone mapping) since the
@@ -208,6 +209,7 @@ struct vt_h264_context
 {
     struct hxxx_helper hh;
     h264_poc_context_t poc;
+    bool b_extra_has_config;
 };
 
 static void GetxPSH264(uint8_t i_pps_id, void *priv,
@@ -369,6 +371,7 @@ static bool InitH264(decoder_t *p_dec)
         CleanH264(ctx);
         return false;
     }
+    ctx->b_extra_has_config = hxxx_helper_has_config(&ctx->hh);
     p_sys->p_codec_context = ctx;
     p_sys->dpb.i_fields_per_buffer = 2;
     return true;
@@ -380,7 +383,7 @@ static CFDictionaryRef CopyDecoderExtradataH264(decoder_t *p_dec)
     struct vt_h264_context *h264ctx = p_sys->p_codec_context;
 
     CFDictionaryRef extradata = NULL;
-    if (p_dec->fmt_in->i_extra && h264ctx->hh.i_input_nal_length_size)
+    if (h264ctx->b_extra_has_config && h264ctx->hh.i_input_nal_length_size)
     {
         /* copy DecoderConfiguration */
         extradata = ExtradataInfoCreate(CFSTR("avcC"),
@@ -462,7 +465,7 @@ static bool LateStartH264(decoder_t *p_dec)
 {
     decoder_sys_t *p_sys = p_dec->p_sys;
     struct vt_h264_context *h264ctx = p_sys->p_codec_context;
-    return (p_dec->fmt_in->i_extra == 0 && !hxxx_helper_has_config(&h264ctx->hh));
+    return !hxxx_helper_has_config(&h264ctx->hh);
 }
 
 static bool ConfigureVoutH264(decoder_t *p_dec)
@@ -569,6 +572,8 @@ struct vt_hevc_context
 {
     struct hxxx_helper hh;
     hevc_poc_ctx_t poc;
+    bool b_extra_has_config;
+    bool b_dovi;
 };
 
 static void CleanHEVC(void *p_codec_context)
@@ -593,6 +598,15 @@ static bool InitHEVC(decoder_t *p_dec)
         CleanHEVC(ctx);
         return false;
     }
+    ctx->b_extra_has_config = ctx->hh.hevc.i_sps_count &&
+                              ctx->hh.hevc.i_pps_count;
+
+    const video_format_t *fmt = &p_dec->fmt_in->video;
+    ctx->b_dovi = p_sys->codec == kCMVideoCodecType_DolbyVisionHEVC ||
+        (fmt->dovi.profile == 8 && fmt->dovi.rpu_present &&
+         (fmt->dovi.bl_signal_compatibility_id == 1 ||
+          fmt->dovi.bl_signal_compatibility_id == 4) &&
+         deviceSupportsHardwareDecode(kCMVideoCodecType_DolbyVisionHEVC));
     p_sys->p_codec_context = ctx;
     return true;
 }
@@ -767,7 +781,7 @@ static CFDictionaryRef CopyDecoderExtradataHEVC(decoder_t *p_dec)
     struct vt_hevc_context *hevcctx = p_sys->p_codec_context;
 
     CFDictionaryRef extradata = NULL;
-    if (p_dec->fmt_in->i_extra && hevcctx->hh.i_input_nal_length_size)
+    if (hevcctx->b_extra_has_config && hevcctx->hh.i_input_nal_length_size)
     {
         /* copy DecoderConfiguration */
         extradata = ExtradataInfoCreate(CFSTR("hvcC"),
@@ -786,14 +800,30 @@ static CFDictionaryRef CopyDecoderExtradataHEVC(decoder_t *p_dec)
             block_Release(p_hvcC);
         }
     }
-    return extradata;
+
+    if (extradata == NULL || !hevcctx->b_dovi)
+        return extradata;
+
+    CFMutableDictionaryRef atoms =
+        CFDictionaryCreateMutableCopy(kCFAllocatorDefault, 0, extradata);
+    if (atoms == NULL)
+        return extradata;
+
+    if (!cfdict_set_dovi_config(atoms, &p_dec->fmt_in->video))
+    {
+        CFRelease(atoms);
+        return extradata;
+    }
+    CFRelease(extradata);
+    return atoms;
 }
 
 static bool LateStartHEVC(decoder_t *p_dec)
 {
     decoder_sys_t *p_sys = p_dec->p_sys;
     struct vt_hevc_context *hevcctx = p_sys->p_codec_context;
-    return (p_dec->fmt_in->i_extra == 0 && !hxxx_helper_has_config(&hevcctx->hh));
+    return !hevcctx->b_extra_has_config &&
+           !hxxx_helper_has_config(&hevcctx->hh);
 }
 
 static bool CodecSupportedHEVC(decoder_t *p_dec)
@@ -812,7 +842,24 @@ static void CodecFlushHEVC(decoder_t *p_dec)
     hevc_poc_cxt_init(&hevcctx->poc);
 }
 
-#define ConfigureVoutHEVC ConfigureVoutH264
+static bool ConfigureVoutHEVC(decoder_t *p_dec)
+{
+    decoder_sys_t *p_sys = p_dec->p_sys;
+    struct vt_hevc_context *hevcctx = p_sys->p_codec_context;
+    if (!ConfigureVoutH264(p_dec))
+        return false;
+
+    if (hevcctx->b_dovi)
+        p_dec->fmt_out.video.dovi = p_dec->fmt_in->video.dovi;
+    if (p_sys->codec == kCMVideoCodecType_DolbyVisionHEVC)
+    {
+        p_dec->fmt_out.video.primaries = COLOR_PRIMARIES_BT2020;
+        p_dec->fmt_out.video.transfer = TRANSFER_FUNC_SMPTE_ST2084;
+        p_dec->fmt_out.video.space = COLOR_SPACE_BT2020;
+    }
+    return true;
+}
+
 #define ProcessBlockHEVC ProcessBlockH264
 #define VideoToolboxNeedsToRestartHEVC VideoToolboxNeedsToRestartH264
 
@@ -950,11 +997,18 @@ static CMVideoCodecType CodecPrecheck(decoder_t *p_dec)
             return kCMVideoCodecType_H264;
 
         case VLC_CODEC_HEVC:
-            if (!deviceSupportsHEVC())
+            if (!deviceSupportsHardwareDecode(kCMVideoCodecType_HEVC))
             {
                 msg_Warn(p_dec, "device doesn't support HEVC");
                 return 0;
             }
+            if (p_dec->fmt_in->video.dovi.profile == 5 &&
+                p_dec->fmt_in->video.dovi.rpu_present &&
+                deviceSupportsHardwareDecode(kCMVideoCodecType_DolbyVisionHEVC))
+            {
+                msg_Dbg(p_dec, "decoding Dolby Vision profile 5");
+                return kCMVideoCodecType_DolbyVisionHEVC;
+            }
             return kCMVideoCodecType_HEVC;
 
         case VLC_CODEC_MP4V:
@@ -1392,6 +1446,7 @@ static int OpenDecoder(vlc_object_t *p_this)
 
     p_dec->fmt_out.video = p_dec->fmt_in->video;
     p_dec->fmt_out.video.p_palette = NULL;
+    memset(&p_dec->fmt_out.video.dovi, 0, sizeof(p_dec->fmt_out.video.dovi));
 
     if (!p_dec->fmt_out.video.i_sar_num || !p_dec->fmt_out.video.i_sar_den)
     {
@@ -1429,6 +1484,7 @@ static int OpenDecoder(vlc_object_t *p_this)
             p_sys->start_sync_state = STATE_BITSTREAM_WAITING_RAP;
             break;
 
+        case kCMVideoCodecType_DolbyVisionHEVC:
         case kCMVideoCodecType_HEVC:
             p_sys->pf_codec_init = InitHEVC;
             p_sys->pf_codec_clean = CleanHEVC;
@@ -1482,10 +1538,10 @@ static int OpenDecoder(vlc_object_t *p_this)
 
 #pragma mark - helpers
 
-static Boolean deviceSupportsHEVC()
+static Boolean deviceSupportsHardwareDecode(CMVideoCodecType codec)
 {
     if (__builtin_available(macOS 10.13, iOS 11.0, tvOS 11.0, *))
-        return VTIsHardwareDecodeSupported(kCMVideoCodecType_HEVC);
+        return VTIsHardwareDecodeSupported(codec);
     else
         return false;
 }


=====================================
modules/codec/vt_utils.c
=====================================
@@ -43,6 +43,28 @@ cfdict_set_int32(CFMutableDictionaryRef dict, CFStringRef key, int value)
     CFRelease(number);
 }
 
+bool
+cfdict_set_dovi_config(CFMutableDictionaryRef dict, const video_format_t *fmt)
+{
+    const uint8_t record[24] = {
+        fmt->dovi.version_major,
+        fmt->dovi.version_minor,
+        fmt->dovi.profile << 1 | fmt->dovi.level >> 5,
+        (fmt->dovi.level & 0x1f) << 3 | fmt->dovi.rpu_present << 2 |
+            fmt->dovi.el_present << 1 | fmt->dovi.bl_present,
+        fmt->dovi.bl_signal_compatibility_id << 4 |
+            fmt->dovi.md_compression << 2,
+    };
+
+    CFDataRef data = CFDataCreate(kCFAllocatorDefault, record, sizeof(record));
+    if (data == NULL)
+        return false;
+    CFDictionarySetValue(dict, fmt->dovi.profile > 7 ? CFSTR("dvvC")
+                                                     : CFSTR("dvcC"), data);
+    CFRelease(data);
+    return true;
+}
+
 struct cvpxpic_ctx
 {
     picture_context_t s;


=====================================
modules/codec/vt_utils.h
=====================================
@@ -28,6 +28,9 @@ CFMutableDictionaryRef cfdict_create(CFIndex capacity);
 
 void cfdict_set_int32(CFMutableDictionaryRef dict, CFStringRef key, int value);
 
+bool cfdict_set_dovi_config(CFMutableDictionaryRef dict,
+                            const video_format_t *fmt);
+
 /*
  * Attach a cvpx buffer to a picture
  *


=====================================
modules/demux/avformat/demux.c
=====================================
@@ -206,6 +206,11 @@ static void get_dovi_config(es_format_t *fmt, const AVStream *s)
     fmt->video.dovi.rpu_present = cfg->rpu_present_flag;
     fmt->video.dovi.el_present = cfg->el_present_flag;
     fmt->video.dovi.bl_present = cfg->bl_present_flag;
+    fmt->video.dovi.bl_signal_compatibility_id =
+        cfg->dv_bl_signal_compatibility_id;
+#if LIBAVUTIL_VERSION_CHECK( 59, 30, 100 )
+    fmt->video.dovi.md_compression = cfg->dv_md_compression;
+#endif
 #endif
 }
 


=====================================
modules/demux/mkv/matroska_segment_parse.cpp
=====================================
@@ -362,6 +362,40 @@ void matroska_segment_c::ParseTrackEntry( const KaxTrackEntry *m )
         {
             debug( vars, "Track Max BlockAdditionID=%d", static_cast<uint32_t>( mbl ) ) ;
         }
+#if LIBMATROSKA_VERSION >= 0x010600
+        E_CASE( KaxBlockAdditionMapping, bam )
+        {
+            ONLY_FMT(VIDEO);
+            auto type = FindChild<KaxBlockAddIDType>( bam );
+            auto extra = FindChild<KaxBlockAddIDExtraData>( bam );
+            if( !type || !extra || extra->GetSize() < 4 )
+                return;
+
+            const vlc_fourcc_t fcc = hton32( static_cast<uint32_t>( *type ) );
+            debug( vars, "Track BlockAdditionMapping type=%4.4s",
+                   reinterpret_cast<const char *>( &fcc ) );
+            if( fcc != VLC_FOURCC('d','v','c','C') &&
+                fcc != VLC_FOURCC('d','v','v','C') &&
+                fcc != VLC_FOURCC('d','v','w','C') )
+                return;
+
+            const uint8_t *p = extra->GetBuffer();
+            const uint16_t flags = GetWBE( &p[2] );
+            auto &dovi = vars.tk->fmt.video.dovi;
+            dovi.version_major = p[0];
+            dovi.version_minor = p[1];
+            dovi.profile = (flags >> 9) & 0x7f;
+            dovi.level = (flags >> 3) & 0x3f;
+            dovi.rpu_present = (flags >> 2) & 0x01;
+            dovi.el_present = (flags >> 1) & 0x01;
+            dovi.bl_present = flags & 0x01;
+            if( extra->GetSize() > 4 )
+            {
+                dovi.bl_signal_compatibility_id = p[4] >> 4;
+                dovi.md_compression = (p[4] >> 2) & 0x03;
+            }
+        }
+#endif
         E_CASE( KaxTrackName, tname )
         {
             free(vars.tk->fmt.psz_description);


=====================================
modules/demux/mp4/essetup.c
=====================================
@@ -529,6 +529,9 @@ int SetupVideoES( demux_t *p_demux, const mp4_track_t *p_track, const MP4_Box_t
         p_fmt->video.dovi.rpu_present = p_data->i_rpu_present;
         p_fmt->video.dovi.bl_present = p_data->i_bl_present;
         p_fmt->video.dovi.el_present = p_data->i_el_present;
+        p_fmt->video.dovi.bl_signal_compatibility_id =
+            p_data->i_bl_signal_compatibility_id;
+        p_fmt->video.dovi.md_compression = p_data->i_md_compression;
     }
 
     SetupGlobalExtensions( p_sample, p_fmt );


=====================================
modules/demux/mp4/libmp4.c
=====================================
@@ -4157,6 +4157,7 @@ static int MP4_ReadBox_dvcC( stream_t *p_stream, MP4_Box_t *p_box )
 {
     MP4_Box_data_dvcC_t *p_dvcC;
     uint16_t flags;
+    uint8_t compat;
     MP4_READBOX_ENTER( MP4_Box_data_dvcC_t, NULL );
     p_dvcC = p_box->data.p_dvcC;
     MP4_GET1BYTE( p_dvcC->i_version_major );
@@ -4167,6 +4168,9 @@ static int MP4_ReadBox_dvcC( stream_t *p_stream, MP4_Box_t *p_box )
     p_dvcC->i_rpu_present   = (flags >> 2) & 0x01;  // 1 bit
     p_dvcC->i_el_present    = (flags >> 1) & 0x01;  // 1 bit
     p_dvcC->i_bl_present    =  flags       & 0x01;  // 1 bit
+    MP4_GET1BYTE( compat );
+    p_dvcC->i_bl_signal_compatibility_id = compat >> 4;  // 4 bits
+    p_dvcC->i_md_compression = (compat >> 2) & 0x03;     // 2 bits
     /* TODO: remainder of box, if needed */
     MP4_READBOX_EXIT( 1 );
 }


=====================================
modules/demux/mp4/libmp4.h
=====================================
@@ -740,6 +740,8 @@ typedef struct
     uint8_t i_rpu_present;
     uint8_t i_el_present;
     uint8_t i_bl_present;
+    uint8_t i_bl_signal_compatibility_id;
+    uint8_t i_md_compression;
 } MP4_Box_data_dvcC_t;
 
 #define SAMPLE_DESC_COMMON_HEADER \


=====================================
modules/misc/preparser_serializer/json/fromjson.c
=====================================
@@ -685,6 +685,14 @@ static void fromJSON_video_format(struct serdes_sys *sys,
         if (!json_object_to_integer(subobj, "bl_present", &tmp, &err, 0, 1)) {
             video->dovi.bl_present = tmp;
         }
+        if (!json_object_to_integer(subobj, "bl_signal_compatibility_id",
+                                    &tmp, &err, 0, (1 << 4) - 1)) {
+            video->dovi.bl_signal_compatibility_id = tmp;
+        }
+        if (!json_object_to_integer(subobj, "md_compression", &tmp, &err, 0,
+                                    (1 << 2) - 1)) {
+            video->dovi.md_compression = tmp;
+        }
     }
 
     json_object_to_uint(obj, "i_cubemap_padding", &video->i_cubemap_padding,


=====================================
modules/misc/preparser_serializer/json/tojson.c
=====================================
@@ -587,7 +587,11 @@ static void toJSON_video_format(struct serdes_sys *sys,
     json_stringify(number, sys, "level", video->dovi.level);
     json_stringify(number, sys, "rpu_present", video->dovi.rpu_present);
     json_stringify(number, sys, "el_present", video->dovi.el_present);
-    json_stringify_last(number, sys, "bl_present", video->dovi.bl_present);
+    json_stringify(number, sys, "bl_present", video->dovi.bl_present);
+    json_stringify(number, sys, "bl_signal_compatibility_id",
+                   video->dovi.bl_signal_compatibility_id);
+    json_stringify_last(number, sys, "md_compression",
+                        video->dovi.md_compression);
     if (serdes_buf_puts(sys, ", ") < 0) {
         return;
     }


=====================================
modules/video_output/apple/VLCSampleBufferDisplay.m
=====================================
@@ -434,6 +434,8 @@ CreateCVPXConverter(vout_display_t *vd, const video_format_t *fmt)
 
     converter->fmt_out.video.i_chroma =
     converter->fmt_out.i_codec = VLC_CODEC_CVPX_BGRA;
+    memset(&converter->fmt_out.video.dovi, 0,
+           sizeof(converter->fmt_out.video.dovi));
 
     converter->p_module = vlc_filter_LoadModule(converter, "video converter", NULL, false);
     if (!converter->p_module)
@@ -652,6 +654,7 @@ API_AVAILABLE(tvos(17.0), visionos(1.0))
 @property (nonatomic, copy) NSString *matrix;
 @property (nonatomic, copy) NSString *primaries;
 @property (nonatomic, copy) NSString *transfer;
+ at property (nonatomic) BOOL dolbyVision;
 @property (nonatomic) BOOL installedDisplayCriteria;
 @property (nonatomic) AVDisplayCriteria *pendingDisplayCriteria;
 @end
@@ -700,7 +703,7 @@ API_AVAILABLE(tvos(17.0), visionos(1.0))
 
 - (void)matchFormatDescription:(CMVideoFormatDescriptionRef)formatDescription
 {
-    if (formatDescription == NULL)
+    if (formatDescription == NULL || self.dolbyVision)
         return;
 
     NSDictionary *extensions = (__bridge NSDictionary *)
@@ -718,7 +721,8 @@ API_AVAILABLE(tvos(17.0), visionos(1.0))
                      refreshRate:self.refreshRate
                           matrix:matrix
                        primaries:primaries
-                        transfer:transfer];
+                        transfer:transfer
+                     dolbyVision:NO];
 }
 
 - (void)matchVideoFormat:(const video_format_t *)format
@@ -733,7 +737,7 @@ API_AVAILABLE(tvos(17.0), visionos(1.0))
     if (pixelFormat == 0)
         return;
 
-    CFMutableDictionaryRef extensions = cfdict_create(3);
+    CFMutableDictionaryRef extensions = cfdict_create(4);
     if (extensions == NULL)
         return;
 
@@ -751,10 +755,27 @@ API_AVAILABLE(tvos(17.0), visionos(1.0))
         CFDictionarySetValue(extensions, kCVImageBufferTransferFunctionKey,
                              transfer);
 
+    if (format->dovi.rpu_present) {
+        CFMutableDictionaryRef atoms = cfdict_create(1);
+        if (atoms == NULL || !cfdict_set_dovi_config(atoms, format)) {
+            if (atoms != NULL)
+                CFRelease(atoms);
+            CFRelease(extensions);
+            return;
+        }
+        CFDictionarySetValue(extensions,
+            kCMFormatDescriptionExtension_SampleDescriptionExtensionAtoms,
+            atoms);
+        CFRelease(atoms);
+    }
+
     CMVideoFormatDescriptionRef formatDescription = NULL;
     OSStatus status = CMVideoFormatDescriptionCreate(
-        kCFAllocatorDefault, pixelFormat, format->i_visible_width,
-        format->i_visible_height, extensions, &formatDescription);
+        kCFAllocatorDefault,
+        format->dovi.rpu_present ? kCMVideoCodecType_DolbyVisionHEVC
+                                 : pixelFormat,
+        format->i_visible_width, format->i_visible_height, extensions,
+        &formatDescription);
     CFRelease(extensions);
     if (status != noErr)
         return;
@@ -764,7 +785,8 @@ API_AVAILABLE(tvos(17.0), visionos(1.0))
                                  (float)format->i_frame_rate_base
                           matrix:(__bridge NSString *)matrix
                        primaries:(__bridge NSString *)primaries
-                        transfer:(__bridge NSString *)transfer];
+                        transfer:(__bridge NSString *)transfer
+                     dolbyVision:format->dovi.rpu_present];
     CFRelease(formatDescription);
 }
 
@@ -773,12 +795,14 @@ API_AVAILABLE(tvos(17.0), visionos(1.0))
                          matrix:(NSString *)matrix
                       primaries:(NSString *)primaries
                        transfer:(NSString *)transfer
+                    dolbyVision:(BOOL)dolbyVision
 {
     if (@available(tvOS 17.0, visionOS 1.0, *)) {
         if (refreshRate == 0.f || formatDescription == NULL)
             return;
 
         if (self.refreshRate == refreshRate &&
+            self.dolbyVision == dolbyVision &&
             [self.matrix isEqualToString:matrix] &&
             [self.primaries isEqualToString:primaries] &&
             [self.transfer isEqualToString:transfer])
@@ -791,6 +815,7 @@ API_AVAILABLE(tvos(17.0), visionos(1.0))
             return;
 
         self.refreshRate = refreshRate;
+        self.dolbyVision = dolbyVision;
         self.matrix = matrix;
         self.primaries = primaries;
         self.transfer = transfer;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/ad11e4bec1facba01d385a126dd5ccd89d99b117...25b715a343bcc7cf17c22d3ad65288857017a64f

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/ad11e4bec1facba01d385a126dd5ccd89d99b117...25b715a343bcc7cf17c22d3ad65288857017a64f
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list