summaryrefslogtreecommitdiff
path: root/ffserver_config.h
diff options
context:
space:
mode:
authorLukasz Marek <lukasz.m.luki2@gmail.com>2014-11-15 18:43:41 +0100
committerLukasz Marek <lukasz.m.luki2@gmail.com>2014-11-26 23:32:33 +0100
commitaaf6cc925f7f07a20956dbd0c8dc9927e84ac626 (patch)
tree99d3e18983163fe54769eaaae569224478b19990 /ffserver_config.h
parent6c2ed67c2f6f93fe153afba40b29a18d2cff0bd0 (diff)
downloadffmpeg-aaf6cc925f7f07a20956dbd0c8dc9927e84ac626.tar.gz
ffserver: allow skip setting defaults
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Diffstat (limited to 'ffserver_config.h')
-rw-r--r--ffserver_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffserver_config.h b/ffserver_config.h
index 60e88ec4ae..4e1e0e09fc 100644
--- a/ffserver_config.h
+++ b/ffserver_config.h
@@ -106,6 +106,7 @@ typedef struct FFServerConfig {
struct sockaddr_in rtsp_addr;
int errors;
int warnings;
+ int use_defaults;
// Following variables MUST NOT be used outside configuration parsing code.
enum AVCodecID guessed_audio_codec_id;
enum AVCodecID guessed_video_codec_id;
@@ -116,6 +117,7 @@ typedef struct FFServerConfig {
int no_audio;
int no_video;
int line_num;
+ int stream_use_defaults;
} FFServerConfig;
void ffserver_get_arg(char *buf, int buf_size, const char **pp);