diff options
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 */ |