summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2021-04-17 08:30:04 -0600
committerJohn Stebbins <[email protected]>2021-04-17 08:31:50 -0600
commit173b74d0d50f53becc7e950d02b3ecfb2225f24e (patch)
tree3a166ab20aa95ff19120fd08fd10fdec195dac22 /libhb
parentf0f097e6d317ddb2a88d4133ff2779c9dbea2bb2 (diff)
preview: fix filter chain input pix_fmtHEADmaster
some filters were producing psychedelic results
Diffstat (limited to 'libhb')
-rw-r--r--libhb/hb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/hb.c b/libhb/hb.c
index b748f8b0e..062e16999 100644
--- a/libhb/hb.c
+++ b/libhb/hb.c
@@ -881,7 +881,7 @@ hb_image_t * hb_get_preview3(hb_handle_t * h, int picture,
init.time_base.num = 1;
init.time_base.den = 90000;
init.job = job;
- init.pix_fmt = hb_get_best_pix_fmt(job);
+ init.pix_fmt = AV_PIX_FMT_YUV420P;
init.color_range = AVCOL_RANGE_MPEG;
init.color_prim = title->color_prim;