summaryrefslogtreecommitdiffstats
path: root/video/decode/vd_lavc.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/decode/vd_lavc.c')
-rw-r--r--video/decode/vd_lavc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c
index 209ad8c0c5..aae6937476 100644
--- a/video/decode/vd_lavc.c
+++ b/video/decode/vd_lavc.c
@@ -742,7 +742,7 @@ static void update_image_params(struct dec_video *vd, AVFrame *frame,
}
#endif
- params->color.sig_peak = ctx->cached_hdr_peak;
+ params->color.sig_peak = ctx->cached_hdr_peak / MP_REF_WHITE;
params->rotate = vd->codec->rotate;
params->stereo_in = vd->codec->stereo_mode;
}