[Libav-user] Fill AVFrame from a Cairo surface
Colossus
colossus73 at gmail.com
Mon Aug 16 16:23:40 EEST 2021
On Mon, 16 Aug 2021 at 14:57, Nicolas George <george at nsup.org> wrote:
> You must check the return code of all the functions that can fail. If
> you do not, your code is obviously invalid. Start by fixing that before
> asking for more help.
>
>
I told you I did and avcodec_send_frame() is the one that throws that error.
It would be useful a document in the documentation explaining how to fix
those
errors. I have allocated the frame so ffmpeg should set the linesize by
itself but
in my case it doesn't. Why?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20210816/10d0acf8/attachment.htm>
More information about the Libav-user
mailing list