[vlc-commits] vout/caopengllayer: remove HDR support
Marvin Scholz
git at videolan.org
Mon Feb 24 17:34:25 CET 2020
vlc/vlc-3.0 | branch: master | Marvin Scholz <epirat07 at gmail.com> | Thu Feb 6 12:51:15 2020 +0100| [4591255d8e72c24d213e2071716cd4dec159f049] | committer: Marvin Scholz
vout/caopengllayer: remove HDR support
This is anyway not properly supported currently so opting in to it
here does not change anything for the better.
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=4591255d8e72c24d213e2071716cd4dec159f049
---
modules/video_output/caopengllayer.m | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/modules/video_output/caopengllayer.m b/modules/video_output/caopengllayer.m
index a8cffadb61..133aab06f4 100644
--- a/modules/video_output/caopengllayer.m
+++ b/modules/video_output/caopengllayer.m
@@ -43,8 +43,6 @@
#include "opengl/vout_helper.h"
-#define OSX_SIERRA_AND_HIGHER (NSAppKitVersionNumber >= 1485)
-
/*****************************************************************************
* Vout interface
*****************************************************************************/
@@ -205,13 +203,6 @@ static int Open (vlc_object_t *p_this)
vd->display = PictureDisplay;
vd->control = Control;
- if (OSX_SIERRA_AND_HIGHER) {
- /* request our screen's HDR mode (introduced in OS X 10.11, but correctly supported in 10.12 only) */
- if ([sys->cgLayer respondsToSelector:@selector(setWantsExtendedDynamicRangeContent:)]) {
- [sys->cgLayer setWantsExtendedDynamicRangeContent:YES];
- }
- }
-
/* setup initial state */
CGSize outputSize;
if ([container respondsToSelector:@selector(currentOutputSize)])
More information about the vlc-commits
mailing list