mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-18 13:33:27 -04:00
decklink: Fix FC<->LFE channel swap for some devices
Fixes mantis issue https://obsproject.com/mantis/view.php?id=1379 For some devices with hdmi input, the Front Center channel and the LFE channel are swapped. For some others they are not. To solve the issue a new swap setting is added so that the user can swap the two channels if needed.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include "DecklinkInput.hpp"
|
||||
#include "DecklinkInput.hpp"
|
||||
|
||||
#include <util/threading.h>
|
||||
|
||||
@@ -61,7 +61,8 @@ bool DeckLinkInput::Activate(DeckLinkDevice *device, long long modeId)
|
||||
instance->GetActivePixelFormat() == pixelFormat &&
|
||||
instance->GetActiveColorSpace() == colorSpace &&
|
||||
instance->GetActiveColorRange() == colorRange &&
|
||||
instance->GetActiveChannelFormat() == channelFormat)
|
||||
instance->GetActiveChannelFormat() == channelFormat &&
|
||||
instance->GetActiveSwapState() == swap)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user