vlc | branch: master | Francois Cartegnie <[email protected]> | Sun May 15 
17:22:23 2016 +0200| [c30d095ae0b594b7c4921fe8b6b8e939fe3aa424] | committer: 
Jean-Baptiste Kempf

demux: adaptive: missing break on es recycling (fix #16952)

fixes erratic behaviour with multiple es per stream
when the non recycled es is destroyed and never recreated
and the recycled one creates another es

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

 modules/demux/adaptive/plumbing/FakeESOut.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/adaptive/plumbing/FakeESOut.cpp 
b/modules/demux/adaptive/plumbing/FakeESOut.cpp
index e10c90c..359240b 100644
--- a/modules/demux/adaptive/plumbing/FakeESOut.cpp
+++ b/modules/demux/adaptive/plumbing/FakeESOut.cpp
@@ -114,6 +114,7 @@ void FakeESOut::createOrRecycleRealEsID( FakeESOutID *es_id 
)
                Otherwise the es will select any other compatible track
                and will end this in a activate/select loop when reactivating a 
track */
             es_out_Control( real_es_out, ES_OUT_GET_ES_STATE, 
cand->realESID(), &b_select );
+            break;
         }
     }
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to