mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
Enable v4l2 probe on Linux/ARM
Most of those have V4L2 drivers these days enabling it make sure that it this code is enabled in major distribution, hence that HW accelerated decoder/encoder can be used on platforms that support it. The probes are slightly increasing the first init of gstreamer library, though the result is cached in the registry for later use.
This commit is contained in:
parent
833c530553
commit
6ca6a4111c
1 changed files with 6 additions and 1 deletions
|
@ -571,12 +571,17 @@ if test x$HAVE_GST_V4L2 = xyes; then
|
|||
fi
|
||||
|
||||
dnl Allow enabling v4l2 device probing
|
||||
AS_CASE([$host],
|
||||
[*-*linux*],
|
||||
[AS_CASE([$host_cpu],
|
||||
[arm*], [
|
||||
enable_v4l2_probe="yes"])])
|
||||
AC_ARG_ENABLE(
|
||||
v4l2-probe,
|
||||
AC_HELP_STRING(
|
||||
[--enable-v4l2-probe],
|
||||
[enable V4L2 plugin to probe devices @<:@default=no@:>@]))
|
||||
if test "x$enable_v4l2_probe" = xyes; then
|
||||
if test "x$enable_v4l2_probe" = "xyes"; then
|
||||
AC_DEFINE(GST_V4L2_ENABLE_PROBE, 1,
|
||||
[Define if Video4Linux probe shall be run at plugin load])
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue