]> git.pld-linux.org Git - packages/gstreamer-plugins-bad.git/blame - gstreamer-plugins-bad-mjpegtools200.patch
- fix build agianst mjpegtools-2.0.0 (-mjpegtools200.patch)
[packages/gstreamer-plugins-bad.git] / gstreamer-plugins-bad-mjpegtools200.patch
CommitLineData
45aa239c
AG
1From 407b02578689804dc6bc47e53be9e87cc1b25597 Mon Sep 17 00:00:00 2001
2From: Götz Waschk <waschk@mandriva.org>
3Date: Tue, 24 May 2011 13:42:44 +0000
4Subject: mpeg2enc: support mjpegtools 2.0
5
6This adds conditional includes for the renamed headers in mjpegtools 2.0.
7Fixes: #650970.
8---
9diff --git a/ext/mpeg2enc/gstmpeg2encoder.cc b/ext/mpeg2enc/gstmpeg2encoder.cc
10index acfda50..31f1a30 100644
11--- a/ext/mpeg2enc/gstmpeg2encoder.cc
12+++ b/ext/mpeg2enc/gstmpeg2encoder.cc
13@@ -26,7 +26,10 @@
14
15 #include <mpegconsts.h>
16 #include <quantize.hh>
17-#if GST_MJPEGTOOLS_API >= 10900
18+#if GST_MJPEGTOOLS_API >= 10903
19+#include <ontheflyratectlpass1.hh>
20+#include <ontheflyratectlpass2.hh>
21+#elif GST_MJPEGTOOLS_API >= 10900
22 #include <ontheflyratectl.hh>
23 #include <pass1ratectl.hh>
24 #include <pass2ratectl.hh>
25--
26cgit v0.8.3-6-g21f6
This page took 0.030002 seconds and 4 git commands to generate.