[vlc-commits] chromecast: don't reload if disabled track is removed

Thomas Guillem git at videolan.org
Fri Jan 19 18:44:25 CET 2018


vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Jan 19 18:23:12 2018 +0100| [be80fd88e5488cf88b8af728969d6c4ff8a7c8cb] | committer: Jean-Baptiste Kempf

chromecast: don't reload if disabled track is removed

(cherry picked from commit 12298e60729ad69358957be41aae97a6cc16b690)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=be80fd88e5488cf88b8af728969d6c4ff8a7c8cb
---

 modules/stream_out/chromecast/cast.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index 46dc3ddcfc..bfcfbbdfbb 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -236,6 +236,7 @@ static void Del(sout_stream_t *p_stream, sout_stream_id_sys_t *id)
                     if (*out_it == id)
                     {
                         p_sys->out_streams.erase(out_it);
+                        p_sys->es_changed = true;
                         break;
                     }
                     out_it++;
@@ -245,7 +246,6 @@ static void Del(sout_stream_t *p_stream, sout_stream_id_sys_t *id)
             es_format_Clean( &p_sys_id->fmt );
             free( p_sys_id );
             p_sys->streams.erase( it );
-            p_sys->es_changed = true;
             break;
         }
         it++;



More information about the vlc-commits mailing list