vlc | branch: master | Thomas Guillem <tho...@gllm.fr> | Fri Jan 19 18:23:12 
2018 +0100| [12298e60729ad69358957be41aae97a6cc16b690] | committer: Thomas 
Guillem

chromecast: don't reload if disabled track is removed

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

 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++;

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to