103 AVFrame *frame,
int nb_samples)
140 #if FF_API_AVFILTERBUFFER
150 AVFilterBufferRef **pbuf,
int nb_samples)
152 AVFilterBufferRef *buf;
177 buf = avfilter_get_audio_buffer_ref_from_arrays(frame->
extended_data,
188 avfilter_copy_frame_props(buf, frame);
190 buf->buf->priv = frame;
203 return compat_read(ctx, buf, 0);
209 return compat_read(ctx, buf, nb_samples);
225 .
name =
"buffersink",
226 .description =
NULL_IF_CONFIG_SMALL(
"Buffer video frames, and make them available to the end of the filter graph."),
230 .
inputs = avfilter_vsink_buffer_inputs,
245 .
name =
"abuffersink",
246 .description =
NULL_IF_CONFIG_SMALL(
"Buffer audio frames, and make them available to the end of the filter graph."),
250 .
inputs = avfilter_asink_abuffer_inputs,