From f6405edad3c494c1ddd4e91773e908369f4802c3 Mon Sep 17 00:00:00 2001 From: James Wise Date: Wed, 15 Feb 2017 13:40:33 +1100 Subject: [PATCH] Change the setting we use for the HW keyer --- modules/bluefish/consumer/bluefish_consumer.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/bluefish/consumer/bluefish_consumer.cpp b/modules/bluefish/consumer/bluefish_consumer.cpp index 7fb98adf0..d41f74057 100644 --- a/modules/bluefish/consumer/bluefish_consumer.cpp +++ b/modules/bluefish/consumer/bluefish_consumer.cpp @@ -401,9 +401,8 @@ public: if (BLUE_FAIL(blue_->get_card_property32(INVALID_VIDEO_MODE_FLAG, invalidVideoModeFlag))) CASPAR_THROW_EXCEPTION(caspar_exception() << msg_info(" Failed to get invalid video mode flag")); - // The bluefish HW keyer is going to pre-multiply the RGB with the A. - // This setting results in the correct image coming through when using the 1080_test.tga image. - keyer_control_value = VIDEO_ONBOARD_KEYER_SET_STATUS_DATA_IS_NOT_PREMULTIPLIED(keyer_control_value); + // The bluefish HW keyer is NOT going to pre-multiply the RGB with the A. + keyer_control_value = VIDEO_ONBOARD_KEYER_SET_STATUS_DATA_IS_PREMULTIPLIED(keyer_control_value); keyer_control_value = VIDEO_ONBOARD_KEYER_SET_STATUS_ENABLED(keyer_control_value); if (BLUE_FAIL(blue_->get_card_property32(VIDEO_INPUT_SIGNAL_VIDEO_MODE, inputVideoSignal))) -- 2.39.2