On 18/04/14 15:15, Janne Grunau wrote:
> The most compelling place to initialize the hardware of AVHWAccel-backed
> decoders is the get_format callback. To avoid unneeded reinitializations
> ff_get_format() calls get_format() only if the previously returned pixel
> format is not in the new pixel format list.
> 
> On a frame size change codecs are expected to reset
> avctx.internal.current_pix_fmt to AV_PIX_FMT_NONE.
> ---
>  libavcodec/h264_slice.c | 15 +++++++++------
>  libavcodec/internal.h   | 15 +++++++++++++++
>  libavcodec/utils.c      | 20 ++++++++++++++++++++
>  3 files changed, 44 insertions(+), 6 deletions(-)
> 

Could we land this patch and so I can rebase the set against it?

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

Reply via email to