diff mbox

[FFmpeg-devel] lavc: Add hevc main10 profile to ffmpeg cli

Message ID 20161101231737.8867-1-vittorio.giovara@gmail.com
State Accepted
Commit 271afd632f4de87db99ec085e75446b648dc6e60
Headers show

Commit Message

Vittorio Giovara Nov. 1, 2016, 11:17 p.m. UTC
---
Please CC.
Vittorio

 libavcodec/options_table.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Michael Niedermayer Nov. 2, 2016, 11:38 a.m. UTC | #1
On Tue, Nov 01, 2016 at 07:17:37PM -0400, Vittorio Giovara wrote:
> ---
> Please CC.
> Vittorio
> 
>  libavcodec/options_table.h | 1 +
>  1 file changed, 1 insertion(+)

applied

thx

[...]
diff mbox

Patch

diff --git a/libavcodec/options_table.h b/libavcodec/options_table.h
index 995906b..4323ae9 100644
--- a/libavcodec/options_table.h
+++ b/libavcodec/options_table.h
@@ -394,6 +394,7 @@  static const AVOption avcodec_options[] = {
 {"mpeg4_core", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = FF_PROFILE_MPEG4_CORE }, INT_MIN, INT_MAX, V|E, "profile"},
 {"mpeg4_main", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = FF_PROFILE_MPEG4_MAIN }, INT_MIN, INT_MAX, V|E, "profile"},
 {"mpeg4_asp",  NULL, 0, AV_OPT_TYPE_CONST, {.i64 = FF_PROFILE_MPEG4_ADVANCED_SIMPLE }, INT_MIN, INT_MAX, V|E, "profile"},
+{"main10",  NULL, 0, AV_OPT_TYPE_CONST, {.i64 = FF_PROFILE_HEVC_MAIN_10 }, INT_MIN, INT_MAX, V|E, "profile"},
 {"level", NULL, OFFSET(level), AV_OPT_TYPE_INT, {.i64 = FF_LEVEL_UNKNOWN }, INT_MIN, INT_MAX, V|A|E, "level"},
 {"unknown", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = FF_LEVEL_UNKNOWN }, INT_MIN, INT_MAX, V|A|E, "level"},
 {"lowres", "decode at 1= 1/2, 2=1/4, 3=1/8 resolutions", OFFSET(lowres), AV_OPT_TYPE_INT, {.i64 = 0 }, 0, INT_MAX, V|A|D},