mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
Remove references to the "ff" variant of buffersink.
This commit is contained in:
parent
9a2688826d
commit
ceac5c54dd
@ -85,7 +85,7 @@ static int init_filters(const char *filters_descr)
|
||||
char args[512];
|
||||
int ret;
|
||||
AVFilter *abuffersrc = avfilter_get_by_name("abuffer");
|
||||
AVFilter *abuffersink = avfilter_get_by_name("ffabuffersink");
|
||||
AVFilter *abuffersink = avfilter_get_by_name("abuffersink");
|
||||
AVFilterInOut *outputs = avfilter_inout_alloc();
|
||||
AVFilterInOut *inputs = avfilter_inout_alloc();
|
||||
const enum AVSampleFormat sample_fmts[] = { AV_SAMPLE_FMT_S16, -1 };
|
||||
|
@ -85,7 +85,7 @@ static int init_filters(const char *filters_descr)
|
||||
char args[512];
|
||||
int ret;
|
||||
AVFilter *buffersrc = avfilter_get_by_name("buffer");
|
||||
AVFilter *buffersink = avfilter_get_by_name("ffbuffersink");
|
||||
AVFilter *buffersink = avfilter_get_by_name("buffersink");
|
||||
AVFilterInOut *outputs = avfilter_inout_alloc();
|
||||
AVFilterInOut *inputs = avfilter_inout_alloc();
|
||||
enum AVPixelFormat pix_fmts[] = { AV_PIX_FMT_GRAY8, AV_PIX_FMT_NONE };
|
||||
|
@ -290,7 +290,7 @@ static int configure_output_video_filter(FilterGraph *fg, OutputFilter *ofilter,
|
||||
|
||||
snprintf(name, sizeof(name), "output stream %d:%d", ost->file_index, ost->index);
|
||||
ret = avfilter_graph_create_filter(&ofilter->filter,
|
||||
avfilter_get_by_name("ffbuffersink"),
|
||||
avfilter_get_by_name("buffersink"),
|
||||
name, NULL, NULL, fg->graph);
|
||||
av_freep(&buffersink_params);
|
||||
|
||||
@ -376,7 +376,7 @@ static int configure_output_audio_filter(FilterGraph *fg, OutputFilter *ofilter,
|
||||
params->all_channel_counts = 1;
|
||||
snprintf(name, sizeof(name), "output stream %d:%d", ost->file_index, ost->index);
|
||||
ret = avfilter_graph_create_filter(&ofilter->filter,
|
||||
avfilter_get_by_name("ffabuffersink"),
|
||||
avfilter_get_by_name("abuffersink"),
|
||||
name, NULL, params, fg->graph);
|
||||
av_freep(¶ms);
|
||||
if (ret < 0)
|
||||
|
2
ffplay.c
2
ffplay.c
@ -1756,7 +1756,7 @@ static int configure_video_filters(AVFilterGraph *graph, VideoState *is, const c
|
||||
|
||||
buffersink_params->pixel_fmts = pix_fmts;
|
||||
ret = avfilter_graph_create_filter(&filt_out,
|
||||
avfilter_get_by_name("ffbuffersink"),
|
||||
avfilter_get_by_name("buffersink"),
|
||||
"ffplay_buffersink", NULL, buffersink_params, graph);
|
||||
if (ret < 0)
|
||||
goto fail;
|
||||
|
@ -103,8 +103,8 @@ av_cold static int lavfi_read_header(AVFormatContext *avctx)
|
||||
|
||||
avfilter_register_all();
|
||||
|
||||
buffersink = avfilter_get_by_name("ffbuffersink");
|
||||
abuffersink = avfilter_get_by_name("ffabuffersink");
|
||||
buffersink = avfilter_get_by_name("buffersink");
|
||||
abuffersink = avfilter_get_by_name("abuffersink");
|
||||
|
||||
if (lavfi->graph_filename && lavfi->graph_str) {
|
||||
av_log(avctx, AV_LOG_ERROR,
|
||||
|
Loading…
Reference in New Issue
Block a user