diff options
author | Jan Schmidt <jan@centricular.com> | 2019-01-30 14:38:20 +1100 |
---|---|---|
committer | Jan Schmidt <jan@centricular.com> | 2019-01-30 14:43:22 +1100 |
commit | e75e6375310d9985f821f9e495384d7fb990a147 (patch) | |
tree | 8b4538ac05a77c2fe60804ac4d67e57c404241fb /ext | |
parent | 984b150e65c9a9d2f4b34cfc59c3083c4b9d1196 (diff) | |
download | gstreamer-plugins-bad-e75e6375310d9985f821f9e495384d7fb990a147.tar.gz |
Add OpenH264 version check macro
Diffstat (limited to 'ext')
-rw-r--r-- | ext/openh264/gstopenh264dec.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/openh264/gstopenh264dec.cpp b/ext/openh264/gstopenh264dec.cpp index f82231a45..303ce87dd 100644 --- a/ext/openh264/gstopenh264dec.cpp +++ b/ext/openh264/gstopenh264dec.cpp @@ -28,6 +28,10 @@ #endif #include "gstopenh264dec.h" + +#include <wels/codec_ver.h> +#define OPENH264_VERSION_CHECK(maj,min) ((OPENH264_MAJOR > (maj)) || (OPENH264_MAJOR == (maj) && OPENH264_MINOR >= (min))) + #include <gst/gst.h> #include <gst/video/video.h> #include <gst/video/gstvideodecoder.h> |