[FFmpeg-devel] libavcodec interface
Markus Korber
korbse
Tue Nov 20 08:00:34 CET 2007
Hello,
I'm developing a libavcodec plugin (as outlined here [1]) for a hardware
H.264 video decoder. I understand that I should return the decoded
frame in 'data' like this:
,----
| [...]
| *data_size = sizeof(AVFrame);
| *(AVFrame*)data = priv->frame;
| [...]
`----
However, it is possible (due to asynchronous decoding) that for one
input buffer the decoder returns more than one decoded output frame.
How can I return these additional frames to libavcodec? Thanks.
[1] http://wiki.multimedia.cx/index.php?title=FFmpeg_codec_howto
Regards,
Markus Korber
More information about the ffmpeg-devel
mailing list