On 12/08/15 15:07, Anton Khirnov wrote:
> This allows use to export the required frame pool size to the caller in
> get_buffer(), before the decoder is initialized.
> ---
> This is an API break, since previously get_buffer() was always called after
> MFXVideoDECODE_Init() (and therefore after user's custom frame allocation
> callback invoked by libmfx), now it's called before.
> 
> Suggestions how to do it better are welcome.

The alternative is using av_opt_set to set it or reconfigure if it changes.

I'm not against this patch since I'm not sure which of the other ways
works better.

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to