mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 20:40:27 +00:00
Deltacast: VideoMaster 6.20 compat
But breaks compatibility with 6.19, 6.18 and earlier works (see note in code).
This commit is contained in:
@@ -79,11 +79,29 @@
|
||||
#define DELTA_DVI_DEPRECATED 1
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_MACOSX
|
||||
#include <VideoMasterHD/VideoMasterHD_Ip_Board.h>
|
||||
#else
|
||||
#include <VideoMasterHD_Ip_Board.h>
|
||||
#endif
|
||||
#if defined VHD_IP_FILTER_UDP_PORT_DEST
|
||||
#define VHD_MIN_6_19 1
|
||||
#endif
|
||||
|
||||
// compat
|
||||
#ifdef DELTA_DVI_DEPRECATED
|
||||
#define VHD_BOARDTYPE_DVI VHD_BOARDTYPE_DVI_DEPRECATED
|
||||
#define VHD_BOARDTYPE_HDKEY VHD_BOARDTYPE_HDKEY_DEPRECATED
|
||||
#endif
|
||||
// Following items have been actually deprecated in 6.20. But 6.20 doesn't
|
||||
// bring any new define and thus it is undistinguishable from 6.19. As a
|
||||
// consequence, it won't compile with 6.19.
|
||||
#if defined VHD_MIN_6_19
|
||||
#define VHD_BOARDTYPE_SD VHD_BOARDTYPE_SD_DEPRECATED
|
||||
#define VHD_BOARDTYPE_SDKEY VHD_BOARDTYPE_SDKEY_DEPRECATED
|
||||
#define VHD_BOARDTYPE_HDMI VHD_BOARDTYPE_HDMI_DEPRECATED
|
||||
#define VHD_CHNTYPE_SDSDI VHD_CHNTYPE_SDSDI_DEPRECATED
|
||||
#endif
|
||||
|
||||
struct deltacast_frame_mode_t {
|
||||
int mode;
|
||||
|
||||
Reference in New Issue
Block a user