summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2017-08-04 09:30:40 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-08-04 09:50:13 +0100
commite406e814775d0c57797915347a7d27c5cad21011 (patch)
tree3ffd40e69a11112ccd671c4dbd1aabe0a56db9d0 /video
parent5ea390c07f166ad1186b409176dd4e27d93b6f92 (diff)
downloadmpv-e406e814775d0c57797915347a7d27c5cad21011.tar.bz2
mpv-e406e814775d0c57797915347a7d27c5cad21011.tar.xz
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.
Diffstat (limited to 'video')
-rw-r--r--video/out/opengl/lcms.c3
1 files changed, 2 insertions, 1 deletions
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();