mpeg2enc: support mjpegtools 2.0

This adds conditional includes for the renamed headers in mjpegtools 2.0.
Fixes: #650970.
This commit is contained in:
Götz Waschk 2011-05-24 15:42:44 +02:00 committed by David Schleef
parent 4e01ce3fd2
commit 407b025786

View file

@ -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>