From e406e814775d0c57797915347a7d27c5cad21011 Mon Sep 17 00:00:00 2001 From: Rostislav Pehlivanov Date: Fri, 4 Aug 2017 09:30:40 +0100 Subject: vo_opengl: always print when getting embedded ICC profile data The printout in get_vid_profile() gets skipped if icc caching has been enabled, so always print if an embedded ICC profile has been provided. --- video/out/opengl/lcms.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'video') diff --git a/video/out/opengl/lcms.c b/video/out/opengl/lcms.c index 557048e726..ca4167d544 100644 --- a/video/out/opengl/lcms.c +++ b/video/out/opengl/lcms.c @@ -231,7 +231,7 @@ static cmsHPROFILE get_vid_profile(struct gl_lcms *p, cmsContext cms, cmsHPROFILE prof = cmsOpenProfileFromMemTHR(cms, p->vid_profile->data, p->vid_profile->size); if (prof) { - MP_VERBOSE(p, "Using embedded ICC profile.\n"); + MP_VERBOSE(p, "Successfully opened embedded ICC profile\n"); return prof; } @@ -357,6 +357,7 @@ bool gl_lcms_get_lut3d(struct gl_lcms *p, struct lut3d **result_lut3d, // reference here av_buffer_unref(&p->vid_profile); if (vid_profile) { + MP_VERBOSE(p, "Got an embedded ICC profile.\n"); p->vid_profile = av_buffer_ref(vid_profile); if (!p->vid_profile) abort(); -- cgit v1.2.3