summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2007-10-12 14:44:55 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-10-12 14:44:55 +0000
commit62c4f57092841598319c4599040c5aa8cde0f53a (patch)
treee2acb24edc01d7d7050e1878b4b399cb07d3c423
parent8f95bd95ccef952c60f29c54d2c6a72e8a1c5a23 (diff)
configure.ac: Add big fat warning message with explanation when building against an external copy of ffmpeg. Fixes #4...
Original commit message from CVS: * configure.ac: Add big fat warning message with explanation when building against an external copy of ffmpeg. Fixes #407779.
-rw-r--r--ChangeLog6
-rw-r--r--configure.ac32
2 files changed, 38 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a22abcd..3a518c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-12 Tim-Philipp Müller <tim at centricular dot net>
+
+ * configure.ac:
+ Add big fat warning message with explanation when building
+ against an external copy of ffmpeg. Fixes #407779.
+
2007-10-10 Wim Taymans <wim.taymans@gmail.com>
Patch by: Tuomas Kulve <tuomas dot kulve at movial dot fi>
diff --git a/configure.ac b/configure.ac
index 76cb185..a87791a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -203,6 +203,37 @@ if test "x$with_system_ffmpeg" = "xyes"; then
AC_DEFINE([FFMPEG_SOURCE], ["system install"], [Describes where the FFmpeg libraries come from.])
HAVE_FFMPEG_UNINSTALLED=0
AC_MSG_NOTICE([Using system-installed FFMpeg code])
+ AC_MSG_WARN([
+ ======================================================================
+ WARNING: you have chosen to build gst-ffmpeg against a random
+ external version of ffmpeg instead of building it against the tested
+ internal ffmpeg snapshot that is included with gst-ffmpeg.
+
+ This is a very bad idea. So bad in fact that words cannot express
+ just how bad it is. Suffice to say that it is BAD.
+
+ The GStreamer developers cannot and will not support a gst-ffmpeg
+ built this way. Any bug reports that indicate there is an external
+ version of ffmpeg involved will be closed immediately without further
+ investigation.
+
+ The reason such a setup can't be supported is that the ffmpeg API
+ and ABI is in constant flux, yet there aren't any official releases
+ of the ffmpeg library to develop against. This makes it impossible
+ to guarantee that gst-ffmpeg will work reliably, or even compile,
+ with a randomly picked version ffmpeg. Even if gst-ffmpeg compiles
+ and superficially appears to work fine against your chosen external
+ ffmpeg version, that might just not be the case on other systems, or
+ even the same system at a later time, or when using decoders,
+ encoders, demuxers or muxers that have not been tested.
+
+ Please do not create or distribute binary packages of gst-ffmpeg
+ that link against an external ffmpeg. Thank you!
+ ======================================================================
+ ])
+
+ dnl No, this is not too extreme, we want people to see and read the above
+ sleep 15
else
FFMPEG_CFLAGS="-I \$(top_srcdir)/gst-libs/ext/ffmpeg/libavformat \
-I \$(top_srcdir)/gst-libs/ext/ffmpeg/libavutil \
@@ -245,3 +276,4 @@ tests/Makefile
tests/check/Makefile
)
AC_OUTPUT
+