[FFmpeg-devel] [PATCH 2/4] Remove references to the "ff" variant of buffersink.
Nicolas George
nicolas.george at normalesup.org
Mon Mar 11 22:00:40 CET 2013
Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
doc/examples/filtering_audio.c | 2 +-
doc/examples/filtering_video.c | 2 +-
ffmpeg_filter.c | 4 ++--
ffplay.c | 2 +-
libavdevice/lavfi.c | 4 ++--
5 files changed, 7 insertions(+), 7 deletions(-)
I do not think buffersink is more likely to need INCOMPATIBLE_FORK_ABI hacks
again in the future than any other component.
diff --git a/doc/examples/filtering_audio.c b/doc/examples/filtering_audio.c
index f232106..ad69d32 100644
--- a/doc/examples/filtering_audio.c
+++ b/doc/examples/filtering_audio.c
@@ -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 };
diff --git a/doc/examples/filtering_video.c b/doc/examples/filtering_video.c
index 520ccab..8f2c1c7 100644
--- a/doc/examples/filtering_video.c
+++ b/doc/examples/filtering_video.c
@@ -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 };
diff --git a/ffmpeg_filter.c b/ffmpeg_filter.c
index 1c30961..056b1df 100644
--- a/ffmpeg_filter.c
+++ b/ffmpeg_filter.c
@@ -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)
diff --git a/ffplay.c b/ffplay.c
index 7276c4a..6cd6325 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1773,7 +1773,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;
diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c
index 3b6f0c3..89d0730 100644
--- a/libavdevice/lavfi.c
+++ b/libavdevice/lavfi.c
@@ -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,
--
1.7.10.4
More information about the ffmpeg-devel
mailing list