projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
984b150
)
Add OpenH264 version check macro
author
Jan Schmidt
<jan@centricular.com>
Wed, 30 Jan 2019 03:38:20 +0000
(14:38 +1100)
committer
Jan Schmidt
<jan@centricular.com>
Wed, 30 Jan 2019 03:43:22 +0000
(14:43 +1100)
ext/openh264/gstopenh264dec.cpp
patch
|
blob
|
history
diff --git
a/ext/openh264/gstopenh264dec.cpp
b/ext/openh264/gstopenh264dec.cpp
index f82231a45ae43fdbb154e87f0fef9dce56c59c1a..303ce87ddf9b6a09138040e905bacb56f38e2d78 100644
(file)
--- 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>