Showing the changes to libavdevice/decklink_common.cpp (1 of 1 file). Show all
Unified · Split
| @@ -256,7 +256,7 @@ int ff_decklink_set_format(AVFormatContext *avctx, · 255 unmodified lines | |||
| 256 | } else { | 256 | } else { |
| 257 | if (!ctx->supports_vanc || ctx->dlo->DoesSupportVideoMode(ctx->bmd_mode, ctx->raw_format, | 257 | if (!ctx->supports_vanc || ctx->dlo->DoesSupportVideoMode(ctx->bmd_mode, ctx->raw_format, |
| 258 | bmdVideoOutputVANC, | 258 | bmdVideoOutputVANC, |
| 259 | &support, NULL) != S_OK) { | 259 | &support, NULL) != S_OK || support != bmdDisplayModeSupported) { |
| 260 | /* Try without VANC enabled */ | 260 | /* Try without VANC enabled */ |
| 261 | if (ctx->dlo->DoesSupportVideoMode(ctx->bmd_mode, ctx->raw_format, | 261 | if (ctx->dlo->DoesSupportVideoMode(ctx->bmd_mode, ctx->raw_format, |
| 262 | bmdVideoOutputFlagDefault, | 262 | bmdVideoOutputFlagDefault, |