[FFmpeg-cvslog] avfilter/vf_mergeplanes: deprecate mapping option
Paul B Mahol
git at videolan.org
Tue Apr 5 13:01:51 EEST 2022
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Apr 5 12:00:48 2022 +0200| [854615adf2f9bfd2c839d580293255ac9542d4d1] | committer: Paul B Mahol
avfilter/vf_mergeplanes: deprecate mapping option
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=854615adf2f9bfd2c839d580293255ac9542d4d1
---
libavfilter/vf_mergeplanes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_mergeplanes.c b/libavfilter/vf_mergeplanes.c
index 74b55b01c1..23b9f3d62f 100644
--- a/libavfilter/vf_mergeplanes.c
+++ b/libavfilter/vf_mergeplanes.c
@@ -56,7 +56,7 @@ typedef struct MergePlanesContext {
#define OFFSET(x) offsetof(MergePlanesContext, x)
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
static const AVOption mergeplanes_options[] = {
- { "mapping", "set input to output plane mapping", OFFSET(mapping), AV_OPT_TYPE_INT, {.i64=-1}, -1, 0x33333333, FLAGS },
+ { "mapping", "set input to output plane mapping", OFFSET(mapping), AV_OPT_TYPE_INT, {.i64=-1}, -1, 0x33333333, FLAGS|AV_OPT_FLAG_DEPRECATED },
{ "format", "set output pixel format", OFFSET(out_fmt), AV_OPT_TYPE_PIXEL_FMT, {.i64=AV_PIX_FMT_YUVA444P}, 0, INT_MAX, .flags=FLAGS },
{ "map0s", "set 1st input to output stream mapping", OFFSET(map[0].input), AV_OPT_TYPE_INT, {.i64=0}, 0, 3, FLAGS },
{ "map0p", "set 1st input to output plane mapping", OFFSET(map[0].plane), AV_OPT_TYPE_INT, {.i64=0}, 0, 3, FLAGS },
More information about the ffmpeg-cvslog
mailing list