summaryrefslogtreecommitdiffstats
path: root/libhb/work.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/work.c')
-rw-r--r--libhb/work.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/work.c b/libhb/work.c
index c7c5f39df..56cd12d4b 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -502,7 +502,8 @@ void hb_display_job_info(hb_job_t *job)
}
if (job->color_matrix_code &&
- (job->vcodec == HB_VCODEC_X264_MASK || job->vcodec == HB_VCODEC_X265_MASK))
+ ((job->vcodec & HB_VCODEC_X264_MASK) ||
+ (job->vcodec & HB_VCODEC_X265_MASK)))
{
// color matrix is set:
// 1) at the stream level (x264, x265, qsv only),