Multiple Video window ES created / de-selection / priority broken
Multiple video ES streams creates multiple inactive windows Ex: mmsh://vod.europarl.europa.eu/wmv/nas/nasvod02/vod0912/2015/wm/VODChapter_20151217_09010000_09012900_509dc321151ad4cfbfc-3c8b.wmv?wmcache=0
Was pretty hard to bisect has there is two commits creating two different issue regarding multiple video ES.
First, the oldest was commit d331a853 avcodec: test for decoder hardware output support before decoding
which totally disabled ES when multiple video
Then from commit 363541c9 decoder: initialize callbacks data before probing the module the playback works, but all video ES are created and multiple windows appears.
As I understand for now, As the es_out code hasn't been changed at all meanwhile, it seems the problem occurs because each time a new video ES is added (higher than NON_DEFAULTABLE priority) it replaces and deselects the previous video ES. Deselection now being faulty and not closing vout windows.