[FFmpeg-cvslog] ffserver: NoVideo and NoAudio flags weren't cleared between streams.
Zalewa
git at videolan.org
Sun Feb 21 22:29:58 CET 2016
ffmpeg | branch: master | Zalewa <zalewapl at gmail.com> | Sat Feb 13 15:30:15 2016 +0100| [2ac5a1a28ece31cbe33ff2688aad6bfba0edcf73] | committer: Michael Niedermayer
ffserver: NoVideo and NoAudio flags weren't cleared between streams.
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2ac5a1a28ece31cbe33ff2688aad6bfba0edcf73
---
ffserver_config.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ffserver_config.c b/ffserver_config.c
index 9fc1f00..0ec93b5 100644
--- a/ffserver_config.c
+++ b/ffserver_config.c
@@ -1138,6 +1138,8 @@ static int ffserver_parse_config_stream(FFServerConfig *config, const char *cmd,
av_dict_free(&config->audio_opts);
avcodec_free_context(&config->dummy_vctx);
avcodec_free_context(&config->dummy_actx);
+ config->no_video = 0;
+ config->no_audio = 0;
*pstream = NULL;
} else if (!av_strcasecmp(cmd, "File") ||
!av_strcasecmp(cmd, "ReadOnlyFile")) {
More information about the ffmpeg-cvslog
mailing list