aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Vignali <martin.vignali@gmail.com>2018-10-21 22:48:43 +0200
committerMartin Vignali <martin.vignali@gmail.com>2018-10-22 11:26:31 +0200
commit6953ff714fb6377ef84b4cba08539f282945a629 (patch)
treef67bf4f8520b9393a507c67b59446fb69a1d36e8
parentcfdbefdd90b0d5d88624decd25802ac99ea5d859 (diff)
downloadffmpeg-6953ff714fb6377ef84b4cba08539f282945a629.tar.gz
avfilter/setparams : fix colorspace option
-rw-r--r--libavfilter/vf_setparams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_setparams.c b/libavfilter/vf_setparams.c
index dfd7efc314..fe298e5a06 100644
--- a/libavfilter/vf_setparams.c
+++ b/libavfilter/vf_setparams.c
@@ -96,7 +96,7 @@ static const AVOption setparams_options[] = {
{"smpte428", NULL, 0, AV_OPT_TYPE_CONST, {.i64=AVCOL_TRC_SMPTE428}, INT_MIN, INT_MAX, FLAGS, "color_trc"},
{"arib-std-b67", NULL, 0, AV_OPT_TYPE_CONST, {.i64=AVCOL_TRC_ARIB_STD_B67}, INT_MIN, INT_MAX, FLAGS, "color_trc"},
- {"colorspace", "select colorspace", OFFSET(color_trc), AV_OPT_TYPE_INT, {.i64=-1}, -1, AVCOL_SPC_NB-1, FLAGS, "colorspace"},
+ {"colorspace", "select colorspace", OFFSET(colorspace), AV_OPT_TYPE_INT, {.i64=-1}, -1, AVCOL_SPC_NB-1, FLAGS, "colorspace"},
{"auto", "keep the same colorspace", 0, AV_OPT_TYPE_CONST, {.i64=-1}, INT_MIN, INT_MAX, FLAGS, "colorspace"},
{"gbr", NULL, 0, AV_OPT_TYPE_CONST, {.i64=AVCOL_SPC_RGB}, INT_MIN, INT_MAX, FLAGS, "colorspace"},
{"bt709", NULL, 0, AV_OPT_TYPE_CONST, {.i64=AVCOL_SPC_BT709}, INT_MIN, INT_MAX, FLAGS, "colorspace"},