Commit 3fbdb512 authored by Marvin Scholz's avatar Marvin Scholz Committed by Thomas Guillem

ci_filters: Use CIContext without color management

There seems to be no need to have macOS do color space conversions at
this point and it fixes the issue where the image would change colors a
bit when activating a CIFilter even without changing any parameters.
Signed-off-by: Thomas Guillem's avatarThomas Guillem <>
parent 68c70c11
...@@ -637,7 +637,10 @@ Open(vlc_object_t *obj, char const *psz_filter) ...@@ -637,7 +637,10 @@ Open(vlc_object_t *obj, char const *psz_filter)
ctx->ci_ctx = [CIContext contextWithCGLContext: glctx ctx->ci_ctx = [CIContext contextWithCGLContext: glctx
pixelFormat: nil pixelFormat: nil
colorSpace: nil colorSpace: nil
options: nil]; options: @{
kCIContextWorkingColorSpace : [NSNull null],
kCIContextOutputColorSpace : [NSNull null],
#else #else
CVEAGLContext eaglctx = var_InheritAddress(filter, "ios-eaglcontext"); CVEAGLContext eaglctx = var_InheritAddress(filter, "ios-eaglcontext");
if (!eaglctx) if (!eaglctx)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment