| Index: source/patched-ffmpeg-mt/cmdutils.h
|
| ===================================================================
|
| --- source/patched-ffmpeg-mt/cmdutils.h (revision 65184)
|
| +++ source/patched-ffmpeg-mt/cmdutils.h (working copy)
|
| @@ -261,4 +261,24 @@
|
| */
|
| int64_t guess_correct_pts(PtsCorrectionContext *ctx, int64_t pts, int64_t dts);
|
|
|
| +#if CONFIG_AVFILTER
|
| +#include "libavfilter/avfilter.h"
|
| +
|
| +typedef struct {
|
| + enum PixelFormat pix_fmt;
|
| +} FFSinkContext;
|
| +
|
| +extern AVFilter ffsink;
|
| +
|
| +/**
|
| + * Extract a frame from sink.
|
| + *
|
| + * @return a negative error in case of failure, 1 if one frame has
|
| + * been extracted successfully.
|
| + */
|
| +int get_filtered_video_frame(AVFilterContext *sink, AVFrame *frame,
|
| + AVFilterBufferRef **picref, AVRational *pts_tb);
|
| +
|
| +#endif /* CONFIG_AVFILTER */
|
| +
|
| #endif /* FFMPEG_CMDUTILS_H */
|
|
|