Support changing pixel formats on avfilter input.

Fix issue2217
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2011-03-09 15:13:59 +01:00
parent 0b9dffc67a
commit 7d948dc424
3 changed files with 58 additions and 4 deletions

View File

@@ -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);