Message ID | 20160928202635.8680-1-jamrial@gmail.com |
---|---|
State | Accepted, archived |
Commit | e4bfc9ecf73d593853ef4e993a5c753f5596aee1 |
Headers | show |
On 9/28/2016 5:26 PM, James Almer wrote: > Signed-off-by: James Almer <jamrial@gmail.com> > --- > libavfilter/vf_colorspace.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavfilter/vf_colorspace.c b/libavfilter/vf_colorspace.c > index c74fe00..5b060f9 100644 > --- a/libavfilter/vf_colorspace.c > +++ b/libavfilter/vf_colorspace.c > @@ -1031,7 +1031,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"), Approved by Ronald on IRC and pushed.
diff --git a/libavfilter/vf_colorspace.c b/libavfilter/vf_colorspace.c index c74fe00..5b060f9 100644 --- a/libavfilter/vf_colorspace.c +++ b/libavfilter/vf_colorspace.c @@ -1031,7 +1031,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"),
Signed-off-by: James Almer <jamrial@gmail.com> --- libavfilter/vf_colorspace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)