From 7ce47090ce36fbe72f807d1e35fea3a699adad17 Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Sat, 4 Mar 2017 23:57:38 +0000 Subject: ffmpeg: Support setting the hardware device to use when filtering This only supports one device globally, but more can be used by passing them with input streams in hw_frames_ctx or by deriving new devices inside a filter graph with hwmap. (cherry picked from commit e669db76108de8d7a36c2274c99da82cc94d1dd1) --- ffmpeg.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ffmpeg.h') diff --git a/ffmpeg.h b/ffmpeg.h index fbb9172d74..c3854bcb4a 100644 --- a/ffmpeg.h +++ b/ffmpeg.h @@ -628,6 +628,7 @@ extern AVBufferRef *hw_device_ctx; #if CONFIG_QSV extern char *qsv_device; #endif +extern HWDevice *filter_hw_device; void term_init(void); -- cgit v1.2.3