Skip to content

Commit 82f6e89

Browse files
committed
Fix alpha in 12-bit ProRes with alpha
1 parent 103c693 commit 82f6e89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modules/avformat/producer_avformat.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -848,8 +848,8 @@ static mlt_image_format pick_image_format(enum AVPixelFormat pix_fmt,
848848
}
849849
if (pix_fmt == AV_PIX_FMT_BAYER_RGGB16LE) {
850850
return mlt_image_rgb;
851-
} else if (pix_fmt == AV_PIX_FMT_YUVA444P10LE || pix_fmt == AV_PIX_FMT_GBRAP10LE
852-
|| pix_fmt == AV_PIX_FMT_GBRAP12LE) {
851+
} else if (pix_fmt == AV_PIX_FMT_YUVA444P10LE || pix_fmt == AV_PIX_FMT_YUVA444P12LE
852+
|| pix_fmt == AV_PIX_FMT_GBRAP10LE || pix_fmt == AV_PIX_FMT_GBRAP12LE) {
853853
return mlt_image_rgba;
854854
}
855855
return current_format;

0 commit comments

Comments
 (0)