From 47cd61d812b5994094ee7eed02ca67ef9975d831 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6tz=20Waschk?= Date: Tue, 24 May 2011 15:42:44 +0200 Subject: [PATCH] support mjpegtools 2.0 This adds conditional includes for the renamed headers in mjpegtools 2.0. --- ext/mpeg2enc/gstmpeg2encoder.cc | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) 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 -- 1.7.5.2