]> git.sesse.net Git - casparcg/commitdiff
Modify behaviour of 2nd link upon exit, retunring to a more normal configuration.
authorJames Wise <james.wise@bluefish444.com>
Sun, 19 Feb 2017 17:48:49 +0000 (04:48 +1100)
committerJames Wise <james.wise@bluefish444.com>
Sun, 19 Feb 2017 17:48:49 +0000 (04:48 +1100)
modules/bluefish/consumer/bluefish_consumer.cpp

index d41f740572dd49527ceb0ee6d34a199806dec219..dee7e8e015765001bfc36cd2b232e98b1709713e 100644 (file)
@@ -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)))