aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hevc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-02 15:47:48 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-02 18:24:24 +0100
commita805e2e6530104e9e6211f51fdab55d905da3eda (patch)
tree0d438369556c3ec191af69cf450f35fe714305f1 /libavcodec/hevc.c
parent35594c48caf00ef96c45b50be4767f3e7f08a77f (diff)
downloadffmpeg-a805e2e6530104e9e6211f51fdab55d905da3eda.tar.gz
avcodec/hevc: add "apply_defdispwin" alias for compatibilty with 064698d381e1e7790f21b0199a8930ea04e2e942
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc.c')
-rw-r--r--libavcodec/hevc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index ffade94695..39365eded4 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -2901,6 +2901,8 @@ static void hevc_decode_flush(AVCodecContext *avctx)
#define OFFSET(x) offsetof(HEVCContext, x)
#define PAR (AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_VIDEO_PARAM)
static const AVOption options[] = {
+ { "apply_defdispwin", "Apply default display window from VUI", OFFSET(apply_defdispwin),
+ AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, PAR },
{ "strict-displaywin", "stricly apply default display window size", OFFSET(apply_defdispwin),
AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, PAR },
{ NULL },