Speculative fix for alpha blending onto YUV422P10LE.
authorCarl Hetherington <cth@carlh.net>
Tue, 26 Sep 2017 20:07:03 +0000 (21:07 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 26 Sep 2017 20:07:03 +0000 (21:07 +0100)
src/lib/image.cc

index 03a4d96b4848da8a133828c144195b76033d396c..c3955c92add136e25accc3ff2e5aa9ea36cb81fd 100644 (file)
@@ -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);