Skip to content

Commit

Permalink
avfilter/tonemap_videotoolbox: fix MAX mode check
Browse files Browse the repository at this point in the history
  • Loading branch information
gnattu committed Jul 18, 2024
1 parent 228b7e1 commit f09f52f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/patches/0069-add-tonemap-videotoolbox.patch
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ Index: FFmpeg/libavfilter/vf_tonemap_videotoolbox.m
+ tonemap_func_type = (short)ctx->tonemap;
+ is_tone_func_bt2390 = ctx->tonemap == TONEMAP_BT2390;
+ is_tone_mode_rgb = ctx->tonemap_mode == TONEMAP_MODE_RGB;
+ is_tone_mode_max = !is_tone_mode_rgb;
+ is_tone_mode_max = ctx->tonemap_mode == TONEMAP_MODE_MAX;
+ is_non_semi_planar_in = ctx->in_planes > 2;
+ is_non_semi_planar_out = ctx->out_planes > 2;
+ enable_dither = ctx->in_desc->comp[0].depth > ctx->out_desc->comp[0].depth;
Expand Down

0 comments on commit f09f52f

Please sign in to comment.