+ as sort of default value is 32

I would check why frames_ctx->initial_pool_size or NumFrameSuggested
 cannot be used

log message as a warning is a good idea.




On Fri, Jan 26, 2018 at 9:42 AM, Luca Barbato <[email protected]> wrote:

> On 26/01/2018 02:16, Ruiling Song wrote:
>
>> +        ctx->initial_pool_size = 64;
>>
>
> Maybe 64 could be defined with a self descriptive name or you might write
> a comment on why 64 is picked.
>
> The best solution would be adding the ability to query components before
> assembling the transcoding chain and get the minimum number of surfaces
> required before instantiating it, but it might take a little bit of time to
> appear...
>
> lu
> _______________________________________________
> libav-devel mailing list
> [email protected]
> https://lists.libav.org/mailman/listinfo/libav-devel
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to