summaryrefslogtreecommitdiff
path: root/libavcodec/options.c
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2009-05-11 04:34:23 +0000
committerDavid Conrad <lessen42@gmail.com>2009-05-11 04:34:23 +0000
commit580a7465fb416782a1d5ad95011351b9c257f0de (patch)
treef26ec625283620ebc2c6df689bd6cbffba0d6cc8 /libavcodec/options.c
parent014b7ecb6643332af35251c751aebd04bac4bb1e (diff)
Add a chroma_sample_location field to define positioning of chroma samples
Originally committed as revision 18795 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/options.c')
-rw-r--r--libavcodec/options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/options.c b/libavcodec/options.c
index eda3f47918..1a80ee0c31 100644
--- a/libavcodec/options.c
+++ b/libavcodec/options.c
@@ -398,6 +398,7 @@ static const AVOption options[]={
{"color_trc", NULL, OFFSET(color_trc), FF_OPT_TYPE_INT, AVCOL_TRC_UNSPECIFIED, 1, AVCOL_TRC_NB-1, V|E|D},
{"colorspace", NULL, OFFSET(colorspace), FF_OPT_TYPE_INT, AVCOL_SPC_UNSPECIFIED, 1, AVCOL_SPC_NB-1, V|E|D},
{"color_range", NULL, OFFSET(color_range), FF_OPT_TYPE_INT, AVCOL_RANGE_UNSPECIFIED, 0, AVCOL_RANGE_NB-1, V|E|D},
+{"chroma_sample_location", NULL, OFFSET(chroma_sample_location), FF_OPT_TYPE_INT, AVCHROMA_LOC_UNSPECIFIED, 0, AVCHROMA_LOC_NB-1, V|E|D},
{NULL},
};