diff options
author | Ting Fu <ting.fu@intel.com> | 2021-05-06 16:46:08 +0800 |
---|---|---|
committer | Guo, Yejun <yejun.guo@intel.com> | 2021-05-11 10:28:35 +0800 |
commit | 1b1064054c8f3b4ad3b52d14f0c8ee1c4e8200fd (patch) | |
tree | fd7a4d3f397864a090ce5c4cd26c84fd2c64808f /libavfilter/vf_sr.c | |
parent | f02928eb5a75b2ee20dd94c30304f44a7d6f8de1 (diff) |
lavfi/dnn_backend_tensorflow: add multiple outputs support
Signed-off-by: Ting Fu <ting.fu@intel.com>
Diffstat (limited to 'libavfilter/vf_sr.c')
-rw-r--r-- | libavfilter/vf_sr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_sr.c b/libavfilter/vf_sr.c index 4360439ca6..f930b38748 100644 --- a/libavfilter/vf_sr.c +++ b/libavfilter/vf_sr.c @@ -54,7 +54,7 @@ static const AVOption sr_options[] = { { "scale_factor", "scale factor for SRCNN model", OFFSET(scale_factor), AV_OPT_TYPE_INT, { .i64 = 2 }, 2, 4, FLAGS }, { "model", "path to model file specifying network architecture and its parameters", OFFSET(dnnctx.model_filename), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, FLAGS }, { "input", "input name of the model", OFFSET(dnnctx.model_inputname), AV_OPT_TYPE_STRING, { .str = "x" }, 0, 0, FLAGS }, - { "output", "output name of the model", OFFSET(dnnctx.model_outputname), AV_OPT_TYPE_STRING, { .str = "y" }, 0, 0, FLAGS }, + { "output", "output name of the model", OFFSET(dnnctx.model_outputnames_string), AV_OPT_TYPE_STRING, { .str = "y" }, 0, 0, FLAGS }, { NULL } }; |