diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2024-01-09 23:41:01 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2024-01-12 10:49:54 +0800 |
commit | 564a15b2ee12b029b81bc20afa74ea620be7879e (patch) | |
tree | 14487fa5883e6454d28b21fce3ebd4771b2c78dd /libavfilter/asrc_sine.c | |
parent | 38aca1dc9af24787b7ff246ddb1541ae4f03d192 (diff) | |
download | ffmpeg-564a15b2ee12b029b81bc20afa74ea620be7879e.tar.gz |
fftools/ffplay_renderer: Add device selection support
The device can be selected by GPU name or index. For example,
ffplay -hwaccel cuda \
-vulkan_params device="NVIDIA GeForce RTX 3060" \
foo.mp4
ffplay -hwaccel cuda -vulkan_params device="0" foo.mp4
Please note that select device by index only supported by hwcontext,
not by libplacebo.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'libavfilter/asrc_sine.c')
0 files changed, 0 insertions, 0 deletions