[vlc-commits] chromecast: clear out_streams on error
Thomas Guillem
git at videolan.org
Thu Jan 25 18:33:28 CET 2018
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Jan 25 18:00:47 2018 +0100| [e26d41660ae28f432efc7c73c00866e1d014fec4] | committer: Thomas Guillem
chromecast: clear out_streams on error
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e26d41660ae28f432efc7c73c00866e1d014fec4
---
modules/stream_out/chromecast/cast.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index 25b3e794b0..a017d98b92 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -584,6 +584,7 @@ static int Send(sout_stream_t *p_stream, sout_stream_id_sys_t *id,
}
p_sys->transcode_attempt_idx++;
p_sys->es_changed = true;
+ p_sys->out_streams.clear();
msg_Warn( p_stream, "Load failed detected. Switching to next "
"configuration index: %u", p_sys->transcode_attempt_idx );
}
More information about the vlc-commits
mailing list