- Posts: 12
- Joined: Thu Oct 20, 2016 8:18 pm
The setting to enable/disable PsF output can be controlled with IDeckLinkConfiguration using the bmdDeckLinkConfigOutput1080pAsPsF configuration items [1],[2]
Example of disabling PsF (where deckLink is of type IDeckLink*):
- Code: Select all
if (deckLink->QueryInterface(IID_IDeckLinkConfiguration, (void **)&deckLinkConfiguration) != S_OK)
{
printf("Could not get the IDeckLinkConfiguration interface\n");
// error handler
}
result = deckLinkConfiguration->SetFlag(bmdDeckLinkConfigOutput1080pAsPsF, false); // For progressive video
if (FAILED(result))
// error handler
Be aware that PsF settings will be reverted when IDeckLinkConfiguration object is released, unless the settings are saved with DeckLinkConfiguration::WriteConfigurationToPreferences() [3].
[1] DeckLink SDK Manual, 2.5.15 **IDeckLinkConfiguration** Interface
[2] DeckLink SDK Manual, 2.7.18 **DeckLink Configuration ID**
[3] DeckLink SDK Manual, 2.5.15.9 **IDeckLinkConfiguration::WriteConfigurationToPreferences** method