diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-12-18 16:42:24 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2017-01-12 16:24:15 +0100 |
commit | 019ab88a95cb31b698506d90e8ce56695a7f1cc5 (patch) | |
tree | 8c4564aff6be5c1270de110e5709cf101bc8ec31 /libavcodec/options_table.h | |
parent | 52627248e49e58eb4b78e4fcda90a64f4c476ea3 (diff) | |
download | ffmpeg-019ab88a95cb31b698506d90e8ce56695a7f1cc5.tar.gz |
lavc: add an option for exporting cropping information to the caller
Also, add generic code for handling cropping, so the decoders can export
just the cropping size and not bother with the rest.
Diffstat (limited to 'libavcodec/options_table.h')
-rw-r--r-- | libavcodec/options_table.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/options_table.h b/libavcodec/options_table.h index 4deb223552..3ac53fb748 100644 --- a/libavcodec/options_table.h +++ b/libavcodec/options_table.h @@ -531,6 +531,7 @@ static const AVOption avcodec_options[] = { #if FF_API_SIDEDATA_ONLY_PKT {"side_data_only_packets", NULL, OFFSET(side_data_only_packets), AV_OPT_TYPE_INT, { .i64 = 1 }, 0, 1, A|V|E }, #endif +{"apply_cropping", NULL, OFFSET(apply_cropping), AV_OPT_TYPE_INT, { .i64 = 1 }, 0, 1, V | D }, {NULL}, }; |