diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2017-08-04 20:37:49 +0300 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2017-08-11 19:43:16 +0300 |
commit | a66dbc48dd92659e2139758e98985bbf560aec88 (patch) | |
tree | 20b0e853650dc3a8a0287d68b93bcff0e26d8ae7 | |
parent | 7a8ab3402ab2d0aa5924d52ee485152ec21b7e0a (diff) |
avcodec/h264: add an option to read/write the x264 build
-rw-r--r-- | libavcodec/h264dec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 059b3c839a..d41186133c 100644 --- a/libavcodec/h264dec.c +++ b/libavcodec/h264dec.c @@ -1067,6 +1067,7 @@ static const AVOption h264_options[] = { { "is_avc", "is avc", OFFSET(is_avc), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, 0 }, { "nal_length_size", "nal_length_size", OFFSET(nal_length_size), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 4, 0 }, { "enable_er", "Enable error resilience on damaged frames (unsafe)", OFFSET(enable_er), AV_OPT_TYPE_BOOL, { .i64 = -1 }, -1, 1, VD }, + { "x264_build", "x264 version", OFFSET(sei.unregistered.x264_build), AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX, VD }, { NULL }, }; |