[Libva] [gst-vaapi patch] respect GST_PLUGIN_PATH before the gst default path
Gwenole Beauchesne
gb.devel at gmail.com
Mon Dec 17 05:38:31 PST 2012
Hi,
2012/12/5 Zhao Halley <halley.zhao at intel.com>:
> @@ -278,7 +281,11 @@ AC_SUBST(GST_PLUGIN_LDFLAGS)
>
> dnl Check for the GStreamer plugins directory
> AC_MSG_CHECKING([for GStreamer plugins directory])
> -GST_PLUGINS_DIR=`$PKG_CONFIG gstreamer-$GST_MAJORMINOR --variable pluginsdir`
> +if test -z "$GST_PLUGIN_PATH"; then
> + GST_PLUGINS_DIR=`$PKG_CONFIG gstreamer-$GST_MAJORMINOR --variable pluginsdir`
> +else
> + GST_PLUGINS_DIR=$GST_PLUGIN_PATH
> +fi
> if test -z "$GST_PLUGINS_DIR"; then
> echo "FAIL FAIL FAIL"
> GST_PLUGINS_DIR="\$(libdir)/gstreamer-$GST_MAJORMINOR"
Applied, with some minor changes:
- Use test -d $GST_PLUGIN_PATH make it the first check
- Drop the ancient "FAIL FAIL FAIL" message. pkg-config is quite
common nowadays, so this should not fail.
Thanks,
Gwenole.
More information about the Libva
mailing list