As gsth265parse was added in GStreamer 1.4, and gstreamer-vaapi still support
GStreamer 1.2, the patching of gsth265parse must be conditional to the target
GStreamer version.
Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
https://bugzilla.gnome.org/show_bug.cgi?id=755525
include $(videoparsers_patches_dir)/series.frag
videoparsers_patches = \
$(videoparsers_patches_base:%=$(top_srcdir)/patches/videoparsers/%)
+if USE_GST_API_1_4p
+videoparsers_patches += \
+ $(videoparsers_patches_1_4p:%=$(top_srcdir)/patches/videoparsers/%)
+endif
videoparsers_orig_sources = \
$(libgstvaapi_parse_gen_sources:%=$(videoparsers_sources_dir)/%)
include series.frag
-EXTRA_DIST = series.frag $(videoparsers_patches_base)
+EXTRA_DIST = \
+ series.frag \
+ $(videoparsers_patches_base) \
+ $(videoparsers_patches_1_4p) \
+ $(NULL)
-include $(top_srcdir)/git.mk
0002-h264parse-fix-build-with-older-GStreamer-1.x-stacks.patch \
0003-h264parse-default-to-byte-stream-nalu-format-Annex-B.patch \
0004-h264parse-Disable-3D-video-support-for-GStreamer-1.5.patch \
- 0005-h265parse-include-gstvaapiparse.h.patch \
- 0006-h265parse-fix-build-with-GStreamer-1.5.patch \
+ $(NULL)
+
+videoparsers_patches_1_4p = \
+ 0005-h265parse-include-gstvaapiparse.h.patch \
+ 0006-h265parse-fix-build-with-GStreamer-1.5.patch \
$(NULL)