From 45aa239ca63f4139a76fa247f7b8ccbfc836d704 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adam=20Go=C5=82=C4=99biowski?= Date: Sun, 12 Feb 2012 22:57:55 +0000 Subject: [PATCH] - fix build against mjpegtools-2.0.0 (patch from mandriva) Changed files: gstreamer-plugins-bad-mjpegtools200.patch -> 1.1 --- gstreamer-plugins-bad-mjpegtools200.patch | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 gstreamer-plugins-bad-mjpegtools200.patch diff --git a/gstreamer-plugins-bad-mjpegtools200.patch b/gstreamer-plugins-bad-mjpegtools200.patch new file mode 100644 index 0000000..1c5afda --- /dev/null +++ b/gstreamer-plugins-bad-mjpegtools200.patch @@ -0,0 +1,26 @@ +From 407b02578689804dc6bc47e53be9e87cc1b25597 Mon Sep 17 00:00:00 2001 +From: Götz Waschk +Date: Tue, 24 May 2011 13:42:44 +0000 +Subject: mpeg2enc: support mjpegtools 2.0 + +This adds conditional includes for the renamed headers in mjpegtools 2.0. +Fixes: #650970. +--- +diff --git a/ext/mpeg2enc/gstmpeg2encoder.cc b/ext/mpeg2enc/gstmpeg2encoder.cc +index acfda50..31f1a30 100644 +--- a/ext/mpeg2enc/gstmpeg2encoder.cc ++++ b/ext/mpeg2enc/gstmpeg2encoder.cc +@@ -26,7 +26,10 @@ + + #include + #include +-#if GST_MJPEGTOOLS_API >= 10900 ++#if GST_MJPEGTOOLS_API >= 10903 ++#include ++#include ++#elif GST_MJPEGTOOLS_API >= 10900 + #include + #include + #include +-- +cgit v0.8.3-6-g21f6 -- 2.44.0