From f7ead94c69bf7b7f8ef63fbe8c869982e2bb5048 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Tue, 12 Oct 2010 18:40:26 +0000 Subject: Factorize definition of the output_filter defined in both ffplay.c and ffmpeg.c. Replace it with a more generic definition which can be shared. Originally committed as revision 25453 to svn://svn.ffmpeg.org/ffmpeg/trunk --- cmdutils.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'cmdutils.h') diff --git a/cmdutils.h b/cmdutils.h index 4ce62b64a8..00f914cc9b 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -261,4 +261,15 @@ void init_pts_correction(PtsCorrectionContext *ctx); */ 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; + +#endif /* CONFIG_AVFILTER */ + #endif /* FFMPEG_CMDUTILS_H */ -- cgit v1.2.3