aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/Makefile
diff options
context:
space:
mode:
authorZhao Zhili <zhilizhao@tencent.com>2023-11-08 00:45:04 +0800
committerZhao Zhili <zhilizhao@tencent.com>2023-11-15 01:20:11 +0800
commita1a6a328f0f58af23c174828775754b28ac64b2d (patch)
tree82e3d4d8a1aa979732178b9453292d04e55ac43b /fftools/Makefile
parent889a022cceea88072e3b9716af3d7c795728f5c5 (diff)
downloadffmpeg-a1a6a328f0f58af23c174828775754b28ac64b2d.tar.gz
fftools/ffplay: add hwaccel decoding support
Add vulkan renderer via libplacebo. Simple usage: $ ffplay -hwaccel vulkan foo.mp4 Use cuda to vulkan map: $ ffplay -hwaccel cuda foo.mp4 Create vulkan instance by libplacebo, and enable debug: $ ffplay -hwaccel vulkan \ -vulkan_params create_by_placebo=1:debug=1 foo.mp4 Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'fftools/Makefile')
-rw-r--r--fftools/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/fftools/Makefile b/fftools/Makefile
index 56820e6bc8..3c763e3db9 100644
--- a/fftools/Makefile
+++ b/fftools/Makefile
@@ -22,6 +22,8 @@ OBJS-ffmpeg += \
fftools/sync_queue.o \
fftools/thread_queue.o \
+OBJS-ffplay += fftools/ffplay_renderer.o
+
define DOFFTOOL
OBJS-$(1) += fftools/cmdutils.o fftools/opt_common.o fftools/$(1).o $(OBJS-$(1)-yes)
ifdef HAVE_GNU_WINDRES