[FFmpeg-devel] [PATCH] asrc_abuffer - audio source filter

S.N. Hemanth Meenakshisundaram smeenaks
Fri Aug 20 18:36:05 CEST 2010


"an api with forced memcpy :(
either the user should be able to provide a buffer that is used without
copy or the user should get a pointer where he can then store the data
possibly without copy"

How about adding a get_audio_buffer_ref API like the attached patch.
get_audio_buffer would wrap this.

Should this get_audio_buffer_ref also be part of the standard filter API
that all filters can implement or should it be a special function only in
defaults.c?

Regards,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: get_buffer_ref.patch
Type: text/x-patch
Size: 2502 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100820/a1c5ec1e/attachment.bin>



More information about the ffmpeg-devel mailing list