avcodec/hevc: add "apply_defdispwin" alias for compatibilty with 064698d381e1e7790f21...
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 2 Nov 2013 14:47:48 +0000 (15:47 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 2 Nov 2013 17:24:24 +0000 (18:24 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/hevc.c

index ffade94..39365ed 100644 (file)
@@ -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 },