From aa3d3bb11de513e5438ee9dfecb467909ee36f19 Mon Sep 17 00:00:00 2001
From: Marvin Scholz <epirat07@gmail.com>
Date: Fri, 24 Jan 2020 15:04:08 +0100
Subject: [PATCH] videotoolbox: Remove deinterlace properties

These properties seem to not influence the deinterlace behavior by
VT at all.
---
 modules/codec/videotoolbox.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/modules/codec/videotoolbox.c b/modules/codec/videotoolbox.c
index b14aa527d6e0..836cbe35c162 100644
--- a/modules/codec/videotoolbox.c
+++ b/modules/codec/videotoolbox.c
@@ -1147,13 +1147,6 @@ static CFMutableDictionaryRef CreateSessionDescriptionFormat(decoder_t *p_dec,
                              kCFBooleanTrue);
 #endif
 
-    CFDictionarySetValue(decoderConfiguration,
-                         kVTDecompressionPropertyKey_FieldMode,
-                         kVTDecompressionProperty_FieldMode_DeinterlaceFields);
-    CFDictionarySetValue(decoderConfiguration,
-                         kVTDecompressionPropertyKey_DeinterlaceMode,
-                         kVTDecompressionProperty_DeinterlaceMode_Temporal);
-
     return decoderConfiguration;
 }
 
-- 
GitLab