diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-04-27 06:56:56 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-05-09 08:59:37 +0200 |
commit | ac71230902af1a8ebc7abf85143139ffb49838eb (patch) | |
tree | 1b3b3b4c484a35e0be341eca4cafe80d8befd930 /cmdutils.h | |
parent | ab165047a6142ca0c8c333c36f4ebb96477622d7 (diff) | |
download | ffmpeg-ac71230902af1a8ebc7abf85143139ffb49838eb.tar.gz |
lavfi: add video buffer sink, and use it in avtools
Also add the public interface libavfilter/buffersink.h.
Based on a commit by Stefano Sabatini.
Diffstat (limited to 'cmdutils.h')
-rw-r--r-- | cmdutils.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/cmdutils.h b/cmdutils.h index 792254cf6c..6fff47ddeb 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -367,21 +367,6 @@ int64_t guess_correct_pts(PtsCorrectionContext *ctx, int64_t pts, int64_t dts); FILE *get_preset_file(char *filename, size_t filename_size, const char *preset_name, int is_path, const char *codec_name); -typedef struct { - const enum PixelFormat *pix_fmts; -} SinkContext; - -extern AVFilter sink; - -/** - * 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); - /** * Do all the necessary cleanup and abort. * This function is implemented in the avtools, not cmdutils. |