avcodec/nvenc: Fix profile parameter handling
authorTimo Rothenpieler <timo@rothenpieler.org>
Wed, 1 Apr 2015 22:04:07 +0000 (00:04 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 2 Apr 2015 12:33:42 +0000 (14:33 +0200)
commit764f87b6ab8eb08f909a347fd3a804a935f5ea2b
tree485d5157cfe5f830a70a1c9b52018c7738ff1fbe
parent703402683a3fc9df3ecbbe84faa08cdf2fc1cd6e
avcodec/nvenc: Fix profile parameter handling

It was not possible to set a profile before, the builtin profile
parameter does not seem to work propperly.
To be compatible with libx264, this overlays it with a local parameter
that expects a string, instead of an int, that takes the well known values
"high", "main" or "baseline".

Reviewed-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/nvenc.c