[vlc-devel] [PATCH 4/5] videotoolbox: Remove deinterlace properties

Marvin Scholz epirat07 at gmail.com
Fri Jan 24 15:21:39 CET 2020


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 b14aa527d6..836cbe35c1 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;
 }
 
-- 
2.20.1 (Apple Git-117)



More information about the vlc-devel mailing list