[Libav-user] hwaccel and the new API
nfxjfg at googlemail.com
Tue Dec 1 15:33:02 CET 2015
On Tue, 6 Oct 2015 14:01:17 -0700
Ratin <ratin3 at gmail.com> wrote:
> I have seen some changes regarding hwaccel part of libav/ffmpeg API and
> after adopting to minimal set of changes, my app stopped working
> assertion src->f->buf failed at libavcodec/h264_picture.c:73
> Program received signal SIGABRT, Aborted.
> I noticed the alloc rotines are updated, is the AVFrame->data and
> AVFrame->data still the containers for HW allocated surface struct
> pointer and surface ID respectively?
Yes, but you are required to allocate refcounted frames in your
get_buffer2 callback. Which involves setting buf to something
More information about the Libav-user