diff options
author | Marton Balint <cus@passwd.hu> | 2019-03-14 01:37:11 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2019-04-15 22:22:31 +0200 |
commit | 63c2c83f6eb46743e57a16b47dc2f45185391b00 (patch) | |
tree | f5ac3d902cbe8dac7a46a7cf98595924d8664712 /libavdevice/decklink_common.h | |
parent | f3e22e32014221d0f089f9cd2d7c6ea3e35da164 (diff) | |
download | ffmpeg-63c2c83f6eb46743e57a16b47dc2f45185391b00.tar.gz |
avdevice/decklink_common: add support for DeckLink SDK 11
Fixes ticket #7789.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavdevice/decklink_common.h')
-rw-r--r-- | libavdevice/decklink_common.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavdevice/decklink_common.h b/libavdevice/decklink_common.h index d2fc3f79d5..921818ba41 100644 --- a/libavdevice/decklink_common.h +++ b/libavdevice/decklink_common.h @@ -24,6 +24,10 @@ #define AVDEVICE_DECKLINK_COMMON_H #include <DeckLinkAPIVersion.h> +#if BLACKMAGIC_DECKLINK_API_VERSION < 0x0b000000 +#define IID_IDeckLinkProfileAttributes IID_IDeckLinkAttributes +#define IDeckLinkProfileAttributes IDeckLinkAttributes +#endif #include "libavutil/thread.h" #include "decklink_common_c.h" @@ -87,7 +91,7 @@ struct decklink_ctx { IDeckLinkOutput *dlo; IDeckLinkInput *dli; IDeckLinkConfiguration *cfg; - IDeckLinkAttributes *attr; + IDeckLinkProfileAttributes *attr; decklink_output_callback *output_callback; /* DeckLink mode information */ |