mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 12:40:19 +00:00
DeckLink cap.: Windows compilation fix
BMDVideoOutputConversionMode is enum in Windows (compared to uint32_t in Linux) and thus the compiler complains about the int->enum cast.
This commit is contained in:
@@ -352,7 +352,7 @@ struct state_decklink {
|
||||
uint32_t profile_req; // BMD_OPT_DEFAULT, BMD_OPT_KEEP, bmdDuplexHalf or one of BMDProfileID
|
||||
char level; // 0 - undefined, 'A' - level A, 'B' - level B
|
||||
bool quad_square_division_split = true;
|
||||
BMDVideoOutputConversionMode conversion_mode{BMD_OPT_DEFAULT};
|
||||
BMDVideoOutputConversionMode conversion_mode{};
|
||||
HDRMetadata requested_hdr_mode;
|
||||
|
||||
buffer_pool_t buffer_pool;
|
||||
|
||||
Reference in New Issue
Block a user