[Libav-user] Fill AVFrame from a Cairo surface
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
errors. I have allocated the frame so ffmpeg should set the linesize by
in my case it doesn't. Why?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user