This is actually not correct, as the classic hwaccels all set the
cropping information properly on the frame.
So not using the coded_width/height as frame size results in too much
cropping.
So just dropping this one.
smime.p7s
Description: S/MIME Cryptographic Signature
_
2017-11-11 17:38 GMT+01:00 Timo Rothenpieler :
> @@ -249,8 +249,9 @@ int ff_nvdec_decode_init(AVCodecContext *avctx, unsigned
> int dpb_size)
>
> params.ulWidth = avctx->coded_width;
> params.ulHeight= avctx->coded_height;
> -params.ulTargetWidth = avct
---
libavcodec/nvdec.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/libavcodec/nvdec.c b/libavcodec/nvdec.c
index db338accfa..894112a144 100644
--- a/libavcodec/nvdec.c
+++ b/libavcodec/nvdec.c
@@ -232,8 +232,8 @@ int ff_nvdec_decode_init(AVCodecContext *avctx, unsi
On 11/11/2017 12:21 PM, Timo Rothenpieler wrote:
> ---
> libavcodec/nvdec.c | 15 +--
> 1 file changed, 9 insertions(+), 6 deletions(-)
>
> diff --git a/libavcodec/nvdec.c b/libavcodec/nvdec.c
> index db338accfa..780c2e67cf 100644
> --- a/libavcodec/nvdec.c
> +++ b/libavcodec/nvdec.c
---
libavcodec/nvdec.c | 15 +--
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/libavcodec/nvdec.c b/libavcodec/nvdec.c
index db338accfa..780c2e67cf 100644
--- a/libavcodec/nvdec.c
+++ b/libavcodec/nvdec.c
@@ -232,8 +232,8 @@ int ff_nvdec_decode_init(AVCodecContext *avct