History

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.

Stefano Sabatini committed 15 years ago

Commit 64c06611 parent 01042d43 files · +11 −33Browse files

Showing the changes to libavfilter/vsrc_buffer.h (1 of 3 files). Show all

Unified · Split

libavfilter/vsrc_buffer.h+1−4
@@ -30,12 +30,9 @@ · 29 unmodified lines
3030 #include "libavcodec/avcodec.h" /* AVFrame */
3131 #include "avfilter.h"
3232
33−int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame,
34− int64_t pts);
33+int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame);
3534
3635 int av_vsrc_buffer_add_frame2(AVFilterContext *buffer_filter, AVFrame *frame,
37− int64_t pts, int width,
38− int height, enum PixelFormat pix_fmt,
3936 const char *sws_param);
4037
4138 #endif /* AVFILTER_VSRC_BUFFER_H */

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