[FFmpeg-devel] [PATCH 2/4] ffmpeg: use the write_uncoded_frame() API.

Nicolas George george at nsup.org
Wed Jan 1 13:33:17 CET 2014


Le duodi 12 nivôse, an CCXXII, Nicolas George a écrit :
> 
> Signed-off-by: Nicolas George <george at nsup.org>
> ---
>  ffmpeg.c |   48 +++++++++++++++++++++++++++++++++++++++++-------
>  ffmpeg.h |    1 +
>  2 files changed, 42 insertions(+), 7 deletions(-)

Note: I thought several times that we should drop the AVPacket structure and
use AVFrame instead: AVFrame is almost a superset of AVPacket, it could hold
a packet just as well.

The need to disguise the AVFrame into an AVPacket here in ffmpeg.c and in
lavf/mux.c strengthen my opinion.

Unfortunately, with the need to keep compatibility with the fork, it is not
going to happen :(

Happy new year.

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140101/4be1c250/attachment.asc>


More information about the ffmpeg-devel mailing list