Commit 2874f912 authored by Zhao Zhili's avatar Zhao Zhili Committed by François Cartegnie

demux: adaptive: fix es recyling

Signed-off-by: François Cartegnie's avatarFrancois Cartegnie <fcvlcdev@free.fr>
parent 2ef29b66
......@@ -138,8 +138,8 @@ void FakeESOut::createOrRecycleRealEsID( FakeESOutID *es_id )
/* We need to enforce same selection when not reused
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;
if( !b_select )
es_out_Control( real_es_out, ES_OUT_GET_ES_STATE, cand->realESID(), &b_select );
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment