History

lavfi: rename vsink_buffer.c to sink_buffer.c, and vsink_buffer.h to buffersink.h

This is done in order to clarify the non-video-specific nature of the buffersink code, as the result of the video/audio API unification of the previous commit, and for improving overall consistency.

Stefano Sabatini committed 15 years ago

Commit 4f7dfe11 parent c4415f610 files · +14 −11Browse files

Unified · Split

10 files
  1. avconv.c +1 −1
  2. doc/APIchanges +3 −0
  3. doc/filters.texi +2 −2
  4. ffmpeg.c +1 −1
  5. ffplay.c +1 −1
  6. libavdevice/lavfi.c +1 −1
  7. libavfilter/Makefile +3 −3
  8. libavfilter/avfilter.h +1 −1
  9. libavfilter/buffersink.h +0 −0
  10. libavfilter/sink_buffer.c +1 −1
avconv.c+1−1
@@ -52,7 +52,7 @@ · 51 unmodified lines
5252 # include "libavfilter/avcodec.h"
5353 # include "libavfilter/avfilter.h"
5454 # include "libavfilter/avfiltergraph.h"
55−# include "libavfilter/vsink_buffer.h"
55+# include "libavfilter/buffersink.h"
5656 # include "libavfilter/vsrc_buffer.h"
5757 #endif
5858
doc/APIchanges+3−0
@@ -13,6 +13,9 @@ libavutil: 2011-04-18 · 12 unmodified lines
1313
1414 API changes, most recent first:
1515
16+2011-09-06 - xxxxxxx - lavfi 2.39.0
17+ Rename libavfilter/vsink_buffer.h to libavfilter/buffersink.h.
18+
1619 2011-09-06 - xxxxxxx - lavfi 2.38.0
1720 Unify video and audio sink API.
1821
doc/filters.texi+2−2
@@ -310,7 +310,7 @@ Below is a description of the currently available audio sinks. · 309 unmodified lines
310310 Buffer audio frames, and make them available to the end of filter chain.
311311
312312 This sink is mainly intended for programmatic use, in particular
313−through the interface defined in @file{libavfilter/vsink_buffer.h}.
313+through the interface defined in @file{libavfilter/buffersink.h}.
314314
315315 It requires a pointer to an AVABufferSinkContext structure, which
316316 defines the incoming buffers' formats, to be passed as the opaque
@@ -2408,7 +2408,7 @@ Buffer video frames, and make them available to the end of the filter · 2091 unmodified lines
24082408 graph.
24092409
24102410 This sink is mainly intended for a programmatic use, in particular
2411−through the interface defined in @file{libavfilter/vsink_buffer.h}.
2411+through the interface defined in @file{libavfilter/buffersink.h}.
24122412
24132413 It does not require a string parameter in input, but you need to
24142414 specify a pointer to a list of supported pixel formats terminated by
ffmpeg.c+1−1
@@ -52,7 +52,7 @@ · 51 unmodified lines
5252 # include "libavfilter/avcodec.h"
5353 # include "libavfilter/avfilter.h"
5454 # include "libavfilter/avfiltergraph.h"
55−# include "libavfilter/vsink_buffer.h"
55+# include "libavfilter/buffersink.h"
5656 # include "libavfilter/vsrc_buffer.h"
5757 #endif
5858
ffplay.c+1−1
@@ -43,7 +43,7 @@ · 42 unmodified lines
4343 # include "libavfilter/avcodec.h"
4444 # include "libavfilter/avfilter.h"
4545 # include "libavfilter/avfiltergraph.h"
46−# include "libavfilter/vsink_buffer.h"
46+# include "libavfilter/buffersink.h"
4747 #endif
4848
4949 #include <SDL.h>
libavdevice/lavfi.c+1−1
@@ -34,7 +34,7 @@ · 33 unmodified lines
3434 #include "libavutil/pixdesc.h"
3535 #include "libavfilter/avfilter.h"
3636 #include "libavfilter/avfiltergraph.h"
37−#include "libavfilter/vsink_buffer.h"
37+#include "libavfilter/buffersink.h"
3838 #include "avdevice.h"
3939
4040 typedef struct {
libavfilter/Makefile+3−3
@@ -8,7 +8,7 @@ FFLIBS-$(CONFIG_MOVIE_FILTER) += avformat avcodec · 7 unmodified lines
88 FFLIBS-$(CONFIG_SCALE_FILTER) += swscale
99 FFLIBS-$(CONFIG_MP_FILTER) += avcodec
1010
11−HEADERS = avcodec.h avfilter.h avfiltergraph.h vsink_buffer.h vsrc_buffer.h
11+HEADERS = avcodec.h avfilter.h avfiltergraph.h buffersink.h vsrc_buffer.h
1212
1313 OBJS = allfilters.o \
1414 avfilter.o \
@@ -29,7 +29,7 @@ OBJS-$(CONFIG_ABUFFER_FILTER) += asrc_abuffer.o · 14 unmodified lines
2929 OBJS-$(CONFIG_AMOVIE_FILTER) += src_movie.o
3030 OBJS-$(CONFIG_ANULLSRC_FILTER) += asrc_anullsrc.o
3131
32−OBJS-$(CONFIG_ABUFFERSINK_FILTER) += vsink_buffer.o
32+OBJS-$(CONFIG_ABUFFERSINK_FILTER) += sink_buffer.o
3333 OBJS-$(CONFIG_ANULLSINK_FILTER) += asink_anullsink.o
3434
3535 OBJS-$(CONFIG_BLACKFRAME_FILTER) += vf_blackframe.o
@@ -82,7 +82,7 @@ OBJS-$(CONFIG_NULLSRC_FILTER) += vsrc_nullsrc.o · 46 unmodified lines
8282 OBJS-$(CONFIG_RGBTESTSRC_FILTER) += vsrc_testsrc.o
8383 OBJS-$(CONFIG_TESTSRC_FILTER) += vsrc_testsrc.o
8484
85−OBJS-$(CONFIG_BUFFERSINK_FILTER) += vsink_buffer.o
85+OBJS-$(CONFIG_BUFFERSINK_FILTER) += sink_buffer.o
8686 OBJS-$(CONFIG_NULLSINK_FILTER) += vsink_nullsink.o
8787
8888
libavfilter/avfilter.h+1−1
@@ -29,7 +29,7 @@ · 28 unmodified lines
2929 #include "libavutil/rational.h"
3030
3131 #define LIBAVFILTER_VERSION_MAJOR 2
32−#define LIBAVFILTER_VERSION_MINOR 38
32+#define LIBAVFILTER_VERSION_MINOR 39
3333 #define LIBAVFILTER_VERSION_MICRO 0
3434
3535 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
libavfilter/buffersink.hrenamed from libavfilter/vsink_buffer.h+0−0

File renamed without changes.

libavfilter/sink_buffer.crenamed from libavfilter/vsink_buffer.c+1−1
@@ -25,7 +25,7 @@ · 24 unmodified lines
2525
2626 #include "libavutil/fifo.h"
2727 #include "avfilter.h"
28−#include "vsink_buffer.h"
28+#include "buffersink.h"
2929
3030 AVBufferSinkParams *av_buffersink_params_alloc(void)
3131 {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t