From b08f100b0fa9925d164b34f07657ede3c7ae3fe2 Mon Sep 17 00:00:00 2001 From: henryhsu <henryhsu@chromium.org> Date: Mon, 12 Jan 2015 18:07:29 +0800 Subject: [PATCH] Rockchip: rename output plugin name to libv4l-encplugin.so Plugin has to be dynamically opened in chromium sandbox. The name needs to be hard-coded in sandbox and libv4l. To avoid changing both places for every new platform, using the same name for encoder plugin would be better. BUG=chromium:405861 TEST=test on pinky and make sure plugin is called successfully. Change-Id: Ib76afdf8384db6a0f3cdd8734cdcc81b6be14e90 Reviewed-on: https://chromium-review.googlesource.com/240128 Reviewed-by: Wu-cheng Li <wuchengli@chromium.org> Commit-Queue: Heng-ruey Hsu <henryhsu@chromium.org> Tested-by: Heng-ruey Hsu <henryhsu@chromium.org> --- libv4l-rockchip/Makefile.am | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libv4l-rockchip/Makefile.am b/libv4l-rockchip/Makefile.am index fe45119..bfcc101 100644 --- a/libv4l-rockchip/Makefile.am +++ b/libv4l-rockchip/Makefile.am @@ -3,10 +3,10 @@ # found in the LICENSE file. if WITH_V4L_PLUGINS -libv4l2plugin_LTLIBRARIES = libv4l-encplugin-rockchip.la +libv4l2plugin_LTLIBRARIES = libv4l-encplugin.la endif -libv4l_encplugin_rockchip_la_SOURCES = \ +libv4l_encplugin_la_SOURCES = \ libv4l-encplugin-rockchip.c \ libvpu/rk_vepu.c \ libvpu/rk_vepu_debug.c \ @@ -24,6 +24,6 @@ libv4l_encplugin_rockchip_la_SOURCES = \ libvpu/vp8_enc/vp8putbits.c \ libvpu/vp8_enc/vp8ratecontrol.c \ libvpu/vp8_enc/vpu_mem.c -libv4l_encplugin_rockchip_la_CPPFLAGS = $(CFLAG_VISIBILITY) -libv4l_encplugin_rockchip_la_LDFLAGS = -avoid-version -module -shared -export-dynamic -libv4l_encplugin_rockchip_la_LIBADD = -lpthread +libv4l_encplugin_la_CPPFLAGS = $(CFLAG_VISIBILITY) +libv4l_encplugin_la_LDFLAGS = -avoid-version -module -shared -export-dynamic +libv4l_encplugin_la_LIBADD = -lpthread -- GitLab