diff options
author | Haihao Xiang <haihao.xiang@intel.com> | 2024-04-23 15:57:52 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2024-04-29 11:08:41 +0800 |
commit | 578ac5988769592c3b1d80b58af676e38e45e259 (patch) | |
tree | 38db3b0d7cbcd821bfa193330f7730e458cafefb /libavfilter/qsvvpp.h | |
parent | 67fc9b84272a88b5edace5ca25f493c21b02955d (diff) | |
download | ffmpeg-578ac5988769592c3b1d80b58af676e38e45e259.tar.gz |
lavfi/qsv: Copy metadata fields from the given input
Currently it always copies the metadata fields from the last input when
there are multiple inputs for the filter. For example, the metadata
fields from input1 are copied to the output for overlay_qsv filter,
however for regular overlay filters, the metadata fields from input0 are
copied to the output. With this fix, we may copy the metadata fields
from input0 to the ouput as well.
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'libavfilter/qsvvpp.h')
-rw-r--r-- | libavfilter/qsvvpp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/qsvvpp.h b/libavfilter/qsvvpp.h index 4eea7a46c7..3b9192b62e 100644 --- a/libavfilter/qsvvpp.h +++ b/libavfilter/qsvvpp.h @@ -131,7 +131,7 @@ int ff_qsvvpp_init(AVFilterContext *avctx, QSVVPPParam *param); int ff_qsvvpp_close(AVFilterContext *avctx); /* vpp filter frame and call the cb if needed */ -int ff_qsvvpp_filter_frame(QSVVPPContext *vpp, AVFilterLink *inlink, AVFrame *frame); +int ff_qsvvpp_filter_frame(QSVVPPContext *vpp, AVFilterLink *inlink, AVFrame *frame, AVFrame *propref); int ff_qsvvpp_print_iopattern(void *log_ctx, int mfx_iopattern, const char *extra_string); |