Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-09-28 23:24:42 +0300
committerJames Almer <jamrial@gmail.com>2016-09-28 23:40:10 +0300
commit2303cea5be08a31a4708b36c8e83150e2a120414 (patch)
tree4d41b80921520e00db6af6c71d8db33a47bda63d
parentd0590d93493a3b854e4e2755f0637099ef551b98 (diff)
avfilter/vf_colorspace: fix range for output colorspace option
Rreviewed-by: BBB Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit e4bfc9ecf73d593853ef4e993a5c753f5596aee1)
-rw-r--r--libavfilter/vf_colorspace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_colorspace.c b/libavfilter/vf_colorspace.c
index 3d39f13d1e..a54369054f 100644
--- a/libavfilter/vf_colorspace.c
+++ b/libavfilter/vf_colorspace.c
@@ -1008,7 +1008,7 @@ static const AVOption colorspace_options[] = {
{ "space", "Output colorspace",
OFFSET(user_csp), AV_OPT_TYPE_INT, { .i64 = AVCOL_SPC_UNSPECIFIED },
- AVCOL_PRI_RESERVED0, AVCOL_PRI_NB - 1, FLAGS, "csp" },
+ AVCOL_SPC_RGB, AVCOL_SPC_NB - 1, FLAGS, "csp"},
ENUM("bt709", AVCOL_SPC_BT709, "csp"),
ENUM("fcc", AVCOL_SPC_FCC, "csp"),
ENUM("bt470bg", AVCOL_SPC_BT470BG, "csp"),