diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-03-09 15:13:59 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-04-03 16:40:12 +0200 |
commit | 7d948dc424c3620e351d27afdf933c99f9435467 (patch) | |
tree | 711b70fc32faa0b8279df88c055b64b19ec3cadb /libavfilter/vsrc_buffer.h | |
parent | 0b9dffc67ab506a5d148993b98d8713a76623892 (diff) |
Support changing pixel formats on avfilter input.
Fix issue2217
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vsrc_buffer.h')
-rw-r--r-- | libavfilter/vsrc_buffer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavfilter/vsrc_buffer.h b/libavfilter/vsrc_buffer.h index a77e42f36c..f6e024cd0b 100644 --- a/libavfilter/vsrc_buffer.h +++ b/libavfilter/vsrc_buffer.h @@ -25,3 +25,7 @@ int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame, int64_t pts, AVRational pixel_aspect); +int av_vsrc_buffer_add_frame2(AVFilterContext *buffer_filter, AVFrame *frame, + int64_t pts, AVRational pixel_aspect, int width, + int height, enum PixelFormat pix_fmt, + const char *sws_param); |