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
This commit is contained in:
11
cmdutils.h
11
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 */
|
||||
|
Reference in New Issue
Block a user