summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorGötz Waschk <waschk@mandriva.org>2011-05-24 15:42:44 +0200
committerDavid Schleef <ds@schleef.org>2011-05-24 17:15:17 -0700
commit407b02578689804dc6bc47e53be9e87cc1b25597 (patch)
treeef5020c6f7dbc1ffe44cd67b113d07e26a209815 /ext
parent4e01ce3fd267729d2ddc264ddf87bfd8b51e2d05 (diff)
downloadgstreamer-plugins-bad-407b02578689804dc6bc47e53be9e87cc1b25597.tar.gz
mpeg2enc: support mjpegtools 2.0
This adds conditional includes for the renamed headers in mjpegtools 2.0. Fixes: #650970.
Diffstat (limited to 'ext')
-rw-r--r--ext/mpeg2enc/gstmpeg2encoder.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/mpeg2enc/gstmpeg2encoder.cc b/ext/mpeg2enc/gstmpeg2encoder.cc
index acfda5052..31f1a308d 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>