diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-09-26 21:07:03 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-09-26 21:07:03 +0100 |
| commit | 527b1996b90481318a0420597c9af69dd44d110d (patch) | |
| tree | dc2700b96a9ccbacb4ed728cf45938962877127b | |
| parent | 704acb43542c0f8bbec89fa357f448d7a8694efd (diff) | |
Speculative fix for alpha blending onto YUV422P10LE.
| -rw-r--r-- | src/lib/image.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/image.cc b/src/lib/image.cc index 03a4d96b4..c3955c92a 100644 --- a/src/lib/image.cc +++ b/src/lib/image.cc @@ -585,6 +585,7 @@ Image::alpha_blend (shared_ptr<const Image> other, Position<int> position) break; } case AV_PIX_FMT_YUV420P10: + case AV_PIX_FMT_YUV422P10LE: { shared_ptr<Image> yuv = other->scale (other->size(), dcp::YUV_TO_RGB_REC709, _pixel_format, false, false); component<uint16_t> (0, this, yuv, other, start_tx, start_ty, start_ox, start_oy); |
