diff options
Diffstat (limited to 'ffserver_config.h')
-rw-r--r-- | ffserver_config.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ffserver_config.h b/ffserver_config.h index 36d61d0084..ac75b06892 100644 --- a/ffserver_config.h +++ b/ffserver_config.h @@ -107,11 +107,14 @@ typedef struct FFServerConfig { int errors; int warnings; // Following variables MUST NOT be used outside configuration parsing code. - AVCodecContext audio_enc; - AVCodecContext video_enc; enum AVCodecID audio_id; enum AVCodecID video_id; - + AVDictionary *video_opts; /* AVOptions for video encoder */ + AVDictionary *video_conf; /* Values stored in video AVCodecContext.fields */ + AVDictionary *audio_opts; /* AVOptions for audio encoder */ + AVDictionary *audio_conf; /* Values stored in audio AVCodecContext.fields */ + char *video_preset; + char *audio_preset; } FFServerConfig; void ffserver_get_arg(char *buf, int buf_size, const char **pp); |