Browse code

avfilter: Add AV_OPT_FLAG_FILTERING_PARAM where it is missing

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

Michael Niedermayer authored on 2017/03/29 06:50:03
Showing 2 changed files
... ...
@@ -527,7 +527,7 @@ static int qsvdeint_request_frame(AVFilterLink *outlink)
527 527
 }
528 528
 
529 529
 #define OFFSET(x) offsetof(QSVDeintContext, x)
530
-#define FLAGS AV_OPT_FLAG_VIDEO_PARAM
530
+#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
531 531
 static const AVOption options[] = {
532 532
     { NULL },
533 533
 };
... ...
@@ -581,7 +581,7 @@ fail:
581 581
 }
582 582
 
583 583
 #define OFFSET(x) offsetof(QSVScaleContext, x)
584
-#define FLAGS AV_OPT_FLAG_VIDEO_PARAM
584
+#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
585 585
 static const AVOption options[] = {
586 586
     { "w",      "Output video width",  OFFSET(w_expr),     AV_OPT_TYPE_STRING, { .str = "iw"   }, .flags = FLAGS },
587 587
     { "h",      "Output video height", OFFSET(h_expr),     AV_OPT_TYPE_STRING, { .str = "ih"   }, .flags = FLAGS },