Commit 9774655f authored by François Cartegnie's avatar François Cartegnie 🤞

demux: adaptive: reselect using SET_ES instead of SET_ES_STATE

Otherwises other decoders are still active and then streams.
Also could trigger dual selected track states.
parent d0b88cac
...@@ -145,7 +145,7 @@ void FakeESOut::createOrRecycleRealEsID( FakeESOutID *es_id ) ...@@ -145,7 +145,7 @@ void FakeESOut::createOrRecycleRealEsID( FakeESOutID *es_id )
{ {
realid = es_out_Add( real_es_out, es_id->getFmt() ); realid = es_out_Add( real_es_out, es_id->getFmt() );
if( b_select ) if( b_select )
es_out_Control( real_es_out, ES_OUT_SET_ES_STATE, realid, b_select ); es_out_Control( real_es_out, ES_OUT_SET_ES, realid );
} }
es_id->setRealESID( realid ); es_id->setRealESID( realid );
......
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