From: James Wise Date: Sun, 19 Feb 2017 17:48:49 +0000 (+1100) Subject: Modify behaviour of 2nd link upon exit, retunring to a more normal configuration. X-Git-Tag: 2.1.0_Beta2~48^2^2 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=130e722ae671e8d39a8991fb7cca562b55c068bd;hp=b100395cec89c77982579b8abf3b8639ec9b56f4;p=casparcg Modify behaviour of 2nd link upon exit, retunring to a more normal configuration. --- diff --git a/modules/bluefish/consumer/bluefish_consumer.cpp b/modules/bluefish/consumer/bluefish_consumer.cpp index d41f74057..dee7e8e01 100644 --- a/modules/bluefish/consumer/bluefish_consumer.cpp +++ b/modules/bluefish/consumer/bluefish_consumer.cpp @@ -436,6 +436,10 @@ public: void disable_video_output() { blue_->video_playback_stop(0,0); + blue_->set_card_property32(VIDEO_DUAL_LINK_OUTPUT, 0); + ULONG routingValue = EPOCH_SET_ROUTING(EPOCH_SRC_OUTPUT_MEM_INTERFACE_CHA, EPOCH_DEST_SDI_OUTPUT_B, BLUE_CONNECTOR_PROP_SINGLE_LINK); + blue_->set_card_property32(MR2_ROUTING, routingValue); + if(BLUE_FAIL(blue_->set_card_property32(VIDEO_BLACKGENERATOR, 1))) CASPAR_LOG(error)<< print() << TEXT(" Failed to disable video output."); if (BLUE_FAIL(blue_->set_card_property32(EMBEDEDDED_AUDIO_OUTPUT, 0)))