On 25/11/2018 15:05, Mark Thompson wrote:
I see what you're trying to do here, but I'm not sure that overloading this option is the
best way to achieve it. This option has a specific meaning in terms of the consumer of
the frames, and is intended to be negotiated (any consumers of hardware fra
On 24/11/18 01:44, Timo Rothenpieler wrote:
> ---
> libavcodec/decode.c| 9 +
> libavcodec/options_table.h | 2 +-
> 2 files changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/libavcodec/decode.c b/libavcodec/decode.c
> index c89c77c43a..08ae8788a2 100644
> --- a/libavcodec
On Sat, Nov 24, 2018 at 02:44:45 +0100, Timo Rothenpieler wrote:
> +// available then add/substract them here.
^ nit: subtract
> -{"extra_hw_frames", "Number of extra hardware frames to allocate for the
> user", OFFSET(extra_hw_frames), AV_OPT_TYPE
---
libavcodec/decode.c| 9 +
libavcodec/options_table.h | 2 +-
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/libavcodec/decode.c b/libavcodec/decode.c
index c89c77c43a..08ae8788a2 100644
--- a/libavcodec/decode.c
+++ b/libavcodec/decode.c
@@ -1256,10 +1256,11 @@