avconv: get output pixel format from lavfi.

This way we don't require a clearly defined corresponding input stream.

The result for the xwd test changes because rgb24 is now chosen instead
of bgra.
This commit is contained in:
Anton Khirnov
2012-03-23 15:46:30 +01:00
parent 7af99a01c4
commit b7327887ea
5 changed files with 40 additions and 56 deletions

View File

@ -368,7 +368,7 @@ FILE *get_preset_file(char *filename, size_t filename_size,
const char *preset_name, int is_path, const char *codec_name);
typedef struct {
enum PixelFormat pix_fmt;
const enum PixelFormat *pix_fmts;
} SinkContext;
extern AVFilter sink;