- Posts: 2
- Joined: Mon Nov 23, 2015 1:05 pm
Hello everyone,
I'm used to program with intensity pro for 3 years ( SDK 9.5, windows seven 32 bits, DELL motherboard)
This code work fine with intensity pro, unfortunately it fails with intensity pro 4K (SDK 10.5.1, windows seven 64 bits, DELL motherboard)
Of course I'm admin of this station
Any ideas?
Thank you in advance.
I'm used to program with intensity pro for 3 years ( SDK 9.5, windows seven 32 bits, DELL motherboard)
This code work fine with intensity pro, unfortunately it fails with intensity pro 4K (SDK 10.5.1, windows seven 64 bits, DELL motherboard)
- Code: Select all
HRESULT result;
IDeckLinkIterator *deckLinkIterator = NULL;
IDeckLink *deckLink = NULL;
IDeckLinkConfiguration *deckLinkConfig = NULL;
IDeckLinkInput *deckLinkInput = NULL;
result = CoCreateInstance(CLSID_CDeckLinkIterator, NULL, CLSCTX_ALL, IID_IDeckLinkIterator, (void**)&deckLinkIterator);
//result = S_OK
result = deckLinkIterator->Next(&deckLink);
//result = S_OK
result = deckLink->QueryInterface(IID_IDeckLinkConfiguration, (void**)&deckLinkConfig);
//result = S_OK
result = deckLinkConfig->SetInt(bmdDeckLinkConfigVideoInputConnection, bmdModeHD1080i50);
//result = S_OK
result = deckLink->QueryInterface(IID_IDeckLinkInput, (void**)&deckLinkInput);
//result = S_OK
BMDDisplayModeSupport theresult;
deckLinkInput->DoesSupportVideoMode(bmdModeHD1080i50, bmdFormat10BitRGB, bmdVideoInputFlagDefault, &theresult, NULL);
//theresult = 1 (bmdDisplayModeNotSupported)
result = deckLinkInput->EnableVideoInput(bmdModeHD1080i50, bmdFormat10BitRGB, 1);
//result = E_ACCESSDENIED
Of course I'm admin of this station
Any ideas?
Thank you in advance.