mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
configure: add --enable-builtin-codecparsers [default="yes"] option.
Add flag to have all codecparsers built-in, thus ensuring that the resulting binaries have all the necessary bug fixes and this is what the QA has been testing anyway. Of course, for a completely up-to-date Linux distribution, you could also opt for --disable-builtin-codecparsers and use the system ones. Though, some core fixes could be missing, and those cannot be tested for with API checks.
This commit is contained in:
parent
d6cff6e148
commit
bcabfcc08b
1 changed files with 10 additions and 0 deletions
10
configure.ac
10
configure.ac
|
@ -89,6 +89,11 @@ dnl Initialize libtool
|
|||
LT_PREREQ([2.2])
|
||||
LT_INIT
|
||||
|
||||
AC_ARG_ENABLE(builtin_codecparsers,
|
||||
AS_HELP_STRING([--enable-builtin-codecparsers],
|
||||
[enable built-in codecparsers @<:@default=yes@:>@]),
|
||||
[], [enable_builtin_codecparsers="yes"])
|
||||
|
||||
AC_ARG_ENABLE(drm,
|
||||
AS_HELP_STRING([--enable-drm],
|
||||
[enable DRM backend @<:@default=yes@:>@]),
|
||||
|
@ -288,6 +293,11 @@ PKG_CHECK_MODULES([GST_BASEVIDEO],
|
|||
[gstreamer-basevideo-$GST_API_VERSION >= $GST_PLUGINS_BAD_VERSION_REQUIRED])
|
||||
|
||||
dnl ... bitstream parsers
|
||||
if test "$enable_builtin_codecparsers" = "yes"; then
|
||||
ac_cv_have_gst_mpeg2_parser="no"
|
||||
ac_cv_have_gst_h264_parser="no"
|
||||
ac_cv_have_gst_jpeg_parser="no"
|
||||
fi
|
||||
PKG_CHECK_MODULES([GST_CODEC_PARSERS],
|
||||
[gstreamer-codecparsers-$GST_API_VERSION >= $GST_PLUGINS_BAD_VERSION_REQUIRED])
|
||||
|
||||
|
|
Loading…
Reference in a new issue