diff options
author | Götz Waschk <waschk@mandriva.org> | 2011-05-24 15:42:44 +0200 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2011-05-24 17:15:17 -0700 |
commit | 407b02578689804dc6bc47e53be9e87cc1b25597 (patch) | |
tree | ef5020c6f7dbc1ffe44cd67b113d07e26a209815 /ext | |
parent | 4e01ce3fd267729d2ddc264ddf87bfd8b51e2d05 (diff) |
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.cc | 5 |
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> |