forked from FFmpeg/FFmpeg
ffserver: NoVideo and NoAudio flags weren't cleared between streams.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
2b5b001182
commit
2ac5a1a28e
1 changed files with 2 additions and 0 deletions
|
@ -1138,6 +1138,8 @@ static int ffserver_parse_config_stream(FFServerConfig *config, const char *cmd,
|
||||||
av_dict_free(&config->audio_opts);
|
av_dict_free(&config->audio_opts);
|
||||||
avcodec_free_context(&config->dummy_vctx);
|
avcodec_free_context(&config->dummy_vctx);
|
||||||
avcodec_free_context(&config->dummy_actx);
|
avcodec_free_context(&config->dummy_actx);
|
||||||
|
config->no_video = 0;
|
||||||
|
config->no_audio = 0;
|
||||||
*pstream = NULL;
|
*pstream = NULL;
|
||||||
} else if (!av_strcasecmp(cmd, "File") ||
|
} else if (!av_strcasecmp(cmd, "File") ||
|
||||||
!av_strcasecmp(cmd, "ReadOnlyFile")) {
|
!av_strcasecmp(cmd, "ReadOnlyFile")) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue