[FFmpeg-cvslog] lavfi/streamselect: enable runtime change flag
Jun Zhao
git at videolan.org
Mon Jan 13 03:26:07 EET 2020
ffmpeg | branch: master | Jun Zhao <barryjzhao at tencent.com> | Sat Jan 11 09:56:46 2020 +0800| [f2a095ac2a1d9c8d96f55e634f84f3d0ed71c0f3] | committer: Jun Zhao
lavfi/streamselect: enable runtime change flag
enable runtime change flag.
Signed-off-by: Jun Zhao <barryjzhao at tencent.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f2a095ac2a1d9c8d96f55e634f84f3d0ed71c0f3
---
libavfilter/f_streamselect.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavfilter/f_streamselect.c b/libavfilter/f_streamselect.c
index 7a1ff775f4..b3ae4bed62 100644
--- a/libavfilter/f_streamselect.c
+++ b/libavfilter/f_streamselect.c
@@ -41,9 +41,10 @@ typedef struct StreamSelectContext {
#define OFFSET(x) offsetof(StreamSelectContext, x)
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_FILTERING_PARAM
+#define TFLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_RUNTIME_PARAM
static const AVOption streamselect_options[] = {
{ "inputs", "number of input streams", OFFSET(nb_inputs), AV_OPT_TYPE_INT, {.i64=2}, 2, INT_MAX, .flags=FLAGS },
- { "map", "input indexes to remap to outputs", OFFSET(map_str), AV_OPT_TYPE_STRING, {.str=NULL}, .flags=FLAGS },
+ { "map", "input indexes to remap to outputs", OFFSET(map_str), AV_OPT_TYPE_STRING, {.str=NULL}, .flags=TFLAGS },
{ NULL }
};
More information about the ffmpeg-cvslog
mailing list