[vlc-devel] Blackmagic Decklink configuration, use WriteConfigurationToPreferences()

Ed Groth ed at boxpopuli.com
Tue Jan 11 02:53:45 CET 2011

On Mon, Jan 10, 2011 at 4:54 PM, Stuart Cunningham <stuart8c at gmail.com> wrote:
>> I'm not sure if it makes sense, really; would you really want running VLC to
>> change your defaults? (What if multiple instances of VLC were running?)
>> Is this behavior documented in the SDK, or is it simply a bug in the driver?
> It's unlikely you want VLC to change the default video and audio mode
> settings (the settings the card is configured with at boot time).
> The new behaviour is documented in the DeckLink 7.9 SDK documentation
> where the new feature of saving video and audio configuration across
> reboots was introduced.  The impact of the change is if you now use a
> IDeckLinkConfiguration object to change a mode and release it before
> you release the IDeckLink object, the changed configuration will be
> reverted to the previous saved configuration.  In this case the fix is
> to not release the IDeckLinkConfiguration until the IDeckLink is
> finished with.
> - Stuart

Here's a patch to keep track of the IDecklinkConfiguration in p_sys.

Still getting used to git, please let me know if the patch format is wrong.


> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Keep-a-reference-to-the-decklink-config-object-so-it.patch
Type: text/x-diff
Size: 2269 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110110/67e449fc/attachment.patch>

More information about the vlc-devel mailing list