mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-21 12:49:40 +08:00
decklink: Add option to select pixel format
This replaces the name-based detection of the 4K intensity pro, and allows other devices to be able to use the BGRA pixel format, if the user so chooses.
This commit is contained in:
@@ -28,6 +28,8 @@ public:
|
||||
return mode ? mode->GetId() : 0;
|
||||
}
|
||||
|
||||
inline BMDPixelFormat GetActivePixelFormat() const {return pixelFormat;}
|
||||
|
||||
inline DeckLinkDeviceMode *GetMode() const {return mode;}
|
||||
|
||||
bool StartCapture(DeckLinkDeviceMode *mode);
|
||||
|
||||
Reference in New Issue
Block a user