summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-12-17 04:15:53 -0800
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-12-17 14:56:11 +0100
commita00cfe0d23a050f8a52a95a05aa3783f461b26fa (patch)
tree88ba73fa2fdf46a55deba005411e218484d7482f
parente823cd3227ca323efa8811188c661a144bd34299 (diff)
downloadgst-vaapi-a00cfe0d23a050f8a52a95a05aa3783f461b26fa.tar.gz
libs: only export gst_vaapi_*() symbols.
This fixes symbol clashes between the gst-vaapi built-in codecparsers/ library and the system-provided one, mainly used by videoparses/. Now, only symbols with the gst_vaapi_* prefix will be exported, if they are not marked as "hidden" to libgstvaapi.
-rw-r--r--gst-libs/gst/vaapi/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/vaapi/Makefile.am b/gst-libs/gst/vaapi/Makefile.am
index 313d5500..8eb2235f 100644
--- a/gst-libs/gst/vaapi/Makefile.am
+++ b/gst-libs/gst/vaapi/Makefile.am
@@ -220,6 +220,7 @@ libgstvaapi_@GST_MAJORMINOR@_la_LIBADD = \
libgstvaapi_@GST_MAJORMINOR@_la_LDFLAGS = \
$(GST_ALL_LDFLAGS) \
+ -export-symbols-regex "^gst_.*vaapi.*" \
$(NULL)
libgstvaapi_drm_@GST_MAJORMINOR@_la_SOURCES = \