Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2ac5a1a

Browse files
Zalewamichaelni
authored andcommittedFeb 21, 2016
ffserver: NoVideo and NoAudio flags weren't cleared between streams.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
1 parent 2b5b001 commit 2ac5a1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎ffserver_config.c

+2
Original file line numberDiff line numberDiff line change
@@ -1138,6 +1138,8 @@ static int ffserver_parse_config_stream(FFServerConfig *config, const char *cmd,
11381138
av_dict_free(&config->audio_opts);
11391139
avcodec_free_context(&config->dummy_vctx);
11401140
avcodec_free_context(&config->dummy_actx);
1141+
config->no_video = 0;
1142+
config->no_audio = 0;
11411143
*pstream = NULL;
11421144
} else if (!av_strcasecmp(cmd, "File") ||
11431145
!av_strcasecmp(cmd, "ReadOnlyFile")) {

0 commit comments

Comments
 (0)