diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-02 09:52:11 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-07 12:03:59 +0200 |
commit | 64c06615d2b99fb9f4ffd6226d0e5787b44a41e2 (patch) | |
tree | 9a95ad87fb3037c1641a203c2dcd1f99e2f2298e /libavfilter/vsrc_buffer.h | |
parent | 01042d4123b6e0a4c15d6828f835bd648eb03d38 (diff) |
vsrc_buffer: simplify av_vsrc_buffer_add_frame*() interface
Now that pix_fmt, width, and height are directly embedded in the AVFrame,
there is no need to pass these values as separate arguments.
Diffstat (limited to 'libavfilter/vsrc_buffer.h')
-rw-r--r-- | libavfilter/vsrc_buffer.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavfilter/vsrc_buffer.h b/libavfilter/vsrc_buffer.h index 68f7847890..2dda546e01 100644 --- a/libavfilter/vsrc_buffer.h +++ b/libavfilter/vsrc_buffer.h @@ -30,12 +30,9 @@ #include "libavcodec/avcodec.h" /* AVFrame */ #include "avfilter.h" -int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame, - int64_t pts); +int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame); int av_vsrc_buffer_add_frame2(AVFilterContext *buffer_filter, AVFrame *frame, - int64_t pts, int width, - int height, enum PixelFormat pix_fmt, const char *sws_param); #endif /* AVFILTER_VSRC_BUFFER_H */ |