Re: [FFmpeg-devel] [PATCH] lavc/decode: allow users to shrink the hw frames pool size, if they so desire.

2018-11-26 Thread Timo Rothenpieler
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

Re: [FFmpeg-devel] [PATCH] lavc/decode: allow users to shrink the hw frames pool size, if they so desire.

2018-11-25 Thread Mark Thompson
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 > ---

Re: [FFmpeg-devel] [PATCH] lavc/decode: allow users to shrink the hw frames pool size, if they so desire.

2018-11-25 Thread Moritz Barsnick
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),

[FFmpeg-devel] [PATCH] lavc/decode: allow users to shrink the hw frames pool size, if they so desire.

2018-11-23 Thread Timo Rothenpieler
--- 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 @@