diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-02-02 09:47:16 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-02-14 22:21:00 +0100 |
commit | b3dd30db0b2d857147fc0e1461a00bd6172a26a3 (patch) | |
tree | f486f89cbcb2e4c6cf975db2008edaa71563a398 /libavfilter/avfilter.h | |
parent | ad884d100259e55cb51a4239cd8a4fd5154c2073 (diff) | |
download | ffmpeg-b3dd30db0b2d857147fc0e1461a00bd6172a26a3.tar.gz |
lavfi: pass the hw frames context through the filter chain
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 18908583a2..0a0c415790 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -35,6 +35,7 @@ #include "libavutil/attributes.h" #include "libavutil/avutil.h" +#include "libavutil/buffer.h" #include "libavutil/frame.h" #include "libavutil/log.h" #include "libavutil/samplefmt.h" @@ -387,6 +388,12 @@ struct AVFilterLink { * Sinks can use it to set a default output frame rate. */ AVRational frame_rate; + + /** + * For hwaccel pixel formats, this should be a reference to the + * AVHWFramesContext describing the frames. + */ + AVBufferRef *hw_frames_ctx; }; /** |