packages: gstreamer-plugins-bad/gstreamer-plugins-bad-mjpegtools200.patch (...

adamg adamg at pld-linux.org
Sun Feb 12 23:58:00 CET 2012


Author: adamg                        Date: Sun Feb 12 22:58:00 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix build against mjpegtools-2.0.0 (patch from mandriva)

---- Files affected:
packages/gstreamer-plugins-bad:
   gstreamer-plugins-bad-mjpegtools200.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/gstreamer-plugins-bad/gstreamer-plugins-bad-mjpegtools200.patch
diff -u /dev/null packages/gstreamer-plugins-bad/gstreamer-plugins-bad-mjpegtools200.patch:1.1
--- /dev/null	Sun Feb 12 23:58:00 2012
+++ packages/gstreamer-plugins-bad/gstreamer-plugins-bad-mjpegtools200.patch	Sun Feb 12 23:57:55 2012
@@ -0,0 +1,26 @@
+From 407b02578689804dc6bc47e53be9e87cc1b25597 Mon Sep 17 00:00:00 2001
+From: Götz Waschk <waschk at mandriva.org>
+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 <mpegconsts.h>
+ #include <quantize.hh>
+-#if GST_MJPEGTOOLS_API >= 10900
++#if GST_MJPEGTOOLS_API >= 10903
++#include <ontheflyratectlpass1.hh>
++#include <ontheflyratectlpass2.hh>
++#elif GST_MJPEGTOOLS_API >= 10900
+ #include <ontheflyratectl.hh>
+ #include <pass1ratectl.hh>
+ #include <pass2ratectl.hh>
+--
+cgit v0.8.3-6-g21f6
================================================================


More information about the pld-cvs-commit mailing list