diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-02-22 06:12:07 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-02-22 06:12:07 +0000 |
commit | b750dbd5efb93ec58f4d85aee0709069fe4385f6 (patch) | |
tree | 070a473731a80b9d3743c5a4b9397b80b21d0c8a /configure.ac | |
parent | ed7773728c669f1721e3d7554841db1c5826878e (diff) | |
download | gst-plugins-bad-b750dbd5efb93ec58f4d85aee0709069fe4385f6.tar.gz gst-plugins-bad-b750dbd5efb93ec58f4d85aee0709069fe4385f6.tar.bz2 gst-plugins-bad-b750dbd5efb93ec58f4d85aee0709069fe4385f6.zip |
Remove hack to work with mjpegtools 1.9.0rc3 and above and instead use mjpeg_loglev_t() for getting the log levels. C...
Original commit message from CVS:
Based on a patch by:
Hans de Goede <j dot w dot r dot degoede at hhs dot nl>
* configure.ac:
* ext/mpeg2enc/gstmpeg2enc.cc:
Remove hack to work with mjpegtools 1.9.0rc3 and above and instead
use mjpeg_loglev_t() for getting the log levels. Check for this
function in configure.ac as the pkg-config file doesn't tell us
which release candidate we have. Fixes bug #517896.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 3a14b814..f186b5e4 100644 --- a/configure.ac +++ b/configure.ac @@ -678,6 +678,11 @@ AG_GST_CHECK_FEATURE(MPEG2ENC, [mpeg2enc], mpeg2enc, [ mpeg2enc_headers_ok=yes fi + if test "x$have_mpjegtools_19x" = "xyes"; then + AG_GST_CHECK_LIBHEADER(MJPEGTOOLS_19rc3, mpeg2encpp, mjpeg_loglev_t, $MPEG2ENC_LIBS, mjpeg_logging.h, + AC_DEFINE(GST_MJPEGTOOLS_19rc3, 1, [mjpegtools >= 1.9.3rc3 is used])) + fi + if test "x$mpeg2enc_headers_ok" = "xyes"; then HAVE_MPEG2ENC="yes" fi |