[SM-Commit] GIT changes to master grimoire by Robin Cook (bb1df8dfd8f4c1fc41be5e758e646d1c9225be19)

Robin Cook scm at sourcemage.org
Fri Jan 13 19:33:56 EST 2012


GIT changes to master grimoire by Robin Cook <rcook at wyrms.net>:

 video-libs/gst-plugins-bad/HISTORY              |    3 +++
 video-libs/gst-plugins-bad/PRE_BUILD            |    4 ++++
 video-libs/gst-plugins-bad/mjpegtools-fix.patch |   15 +++++++++++++++
 3 files changed, 22 insertions(+)

New commits:
commit bb1df8dfd8f4c1fc41be5e758e646d1c9225be19
Author: Robin Cook <rcook at wyrms.net>
Commit: Robin Cook <rcook at wyrms.net>

    gst-plugins-bad: added PRE_BUILD to apply patch

diff --git a/video-libs/gst-plugins-bad/HISTORY b/video-libs/gst-plugins-bad/HISTORY
index 180fc4a..a3e3e28 100644
--- a/video-libs/gst-plugins-bad/HISTORY
+++ b/video-libs/gst-plugins-bad/HISTORY
@@ -1,3 +1,6 @@
+2012-01-13 Robin Cook <rcook at wyrms.net>
+	* PRE_BUILD: added to apply patch so will build with update mjpegtools
+
 2011-05-12 Ladislav Hagara <hgr at vabo.cz>
 	* DETAILS: 0.10.22
 
diff --git a/video-libs/gst-plugins-bad/PRE_BUILD b/video-libs/gst-plugins-bad/PRE_BUILD
new file mode 100755
index 0000000..9999066
--- /dev/null
+++ b/video-libs/gst-plugins-bad/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build     &&
+cd $SOURCE_DIRECTORY  &&
+
+patch -p1 < $SCRIPT_DIRECTORY/mjpegtools-fix.patch
diff --git a/video-libs/gst-plugins-bad/mjpegtools-fix.patch b/video-libs/gst-plugins-bad/mjpegtools-fix.patch
new file mode 100644
index 0000000..de5460c
--- /dev/null
+++ b/video-libs/gst-plugins-bad/mjpegtools-fix.patch
@@ -0,0 +1,15 @@
+diff -ur gst-plugins-bad-0.10.22/ext/mpeg2enc/gstmpeg2encoder.cc gst-plugins-bad-mod/ext/mpeg2enc/gstmpeg2encoder.cc
+--- gst-plugins-bad-0.10.22/ext/mpeg2enc/gstmpeg2encoder.cc	2010-04-29 03:59:29.000000000 -0500
++++ gst-plugins-bad-mod/ext/mpeg2enc/gstmpeg2encoder.cc	2012-01-13 16:46:44.177259807 -0600
+@@ -27,9 +27,8 @@
+ #include <mpegconsts.h>
+ #include <quantize.hh>
+ #if GST_MJPEGTOOLS_API >= 10900
+-#include <ontheflyratectl.hh>
+-#include <pass1ratectl.hh>
+-#include <pass2ratectl.hh>
++#include <ontheflyratectlpass1.hh>
++#include <ontheflyratectlpass2.hh>
+ #else
+ #include <ratectl.hh>
+ #endif


More information about the SM-Commit mailing list