summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2020-04-13 16:33:19 +0100
committerMark Thompson <sw@jkqxz.net>2020-04-26 18:38:25 +0100
commite2542124059f5960ac2bbd94183012814263f20d (patch)
treeb8e1f4a4df7d616e3c42012f91abf7273d27569f /fftools/ffmpeg.h
parent344e6c3ff1b47279ffb360aba3f5e10183bc4eb4 (diff)
ffmpeg: Make filter hardware device selection clearer
Also move it into a dedicated function in the hardware file.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r--fftools/ffmpeg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index fbaae15377..43b5040f73 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -661,6 +661,7 @@ void hw_device_free_all(void);
int hw_device_setup_for_decode(InputStream *ist);
int hw_device_setup_for_encode(OutputStream *ost);
+int hw_device_setup_for_filter(FilterGraph *fg);
int hwaccel_decode_init(AVCodecContext *avctx);