2014-09-10 10:54 GMT+02:00 Gwenole Beauchesne <[email protected]>: > Hi, > > 2014-09-10 10:38 GMT+02:00 Luca Barbato <[email protected]>: >> On 31/08/14 21:24, Luca Barbato wrote: >>> Bitstream-based hw acceleration does not fit well the per-slice model. >>> Provide a decode() and a flush() callback to override completely the >>> software decoder. >>> --- >>> libavcodec/avcodec.h | 12 ++++++++++++ >>> libavcodec/utils.c | 9 +++++++-- >>> 2 files changed, 19 insertions(+), 2 deletions(-) >>> >> >> Are we ok with those two callbacks? > > That's ok with me, as this is overall needed improvement.
On second thought, maybe disable bitstream-based hw acceleration if CODEC_FLAG2_CHUNKS is enabled? Or do we assume the hwaccel shall be supporting that in any case? Or, what is the fallback plan if it comes to fail/not support in this case? Regards, -- Gwenole Beauchesne Intel Corporation SAS / 2 rue de Paris, 92196 Meudon Cedex, France Registration Number (RCS): Nanterre B 302 456 199 _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
