Genlock timing pixel offset / C++

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Andrés C

  • Posts: 2
  • Joined: Thu Dec 18, 2014 5:45 pm
  • Real Name: Andrés Conesa

Genlock timing pixel offset / C++

PostThu Dec 18, 2014 6:03 pm

I've found that calls to get current genlock timing are always giving me a 0 value, that is:
(CComPtr<IDeckLinkConfiguration> pDecklinkConfig)

long long val = 0;
HRESULT hr = pDecklinkConfig->GetInt(bmdDeckLinkConfigReferenceInputTimingOffset, &val);

then
hr == S_OK;
val == 0;

I can succesfully use the SetInt and upon a call to 'WriteConfigurationToPreferences' current value is correctly shown in 'Blackmagic Design Desktop Video' window (the control panel)

I'm using SDK version 10.1.1, driver is 10.3 and visual studio 2010.
Offline

Daniel Moore

  • Posts: 20
  • Joined: Wed Aug 22, 2012 1:06 am

Re: Genlock timing pixel offset / C++

PostSun Dec 28, 2014 10:06 pm

Hi Andrés,

what product are you using?

cheers
Offline

Andrew Devine

  • Posts: 5
  • Joined: Mon Sep 29, 2014 8:48 am

Re: Genlock timing pixel offset / C++

PostTue Apr 14, 2015 9:34 am

This has been fixed in the latest version of driver.

One thing I have found though is that 1 pixel adjustments seem to get ignored. As a workaround I've had to set to 0, delay for 0.5 second, and then update to a new value (this is on Decklink Quad)

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 24 guests