[FFmpeg-devel] [PATCH 1/5] lavfi: implement avfilter_get_audio_buffer_ref_from_frame.

Nicolas George nicolas.george at normalesup.org
Thu May 3 20:20:26 CEST 2012


Le quintidi 15 floréal, an CCXX, Clément Bœsch a écrit :
> What about also adding avfilter_get_buffer_ref_from_frame()? It will allow
> simplifying at least patch 4/5.

That is a possibility I thought about, but I did not like it because the
return value would not be accurate enough to distinguish ENOMEM and ENOSYS
(if you feed it a frame of an unsupported type).

Regards,

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


More information about the ffmpeg-devel mailing list