[vlc-devel] Display update/restart

Steve Lhomme robux4 at ycbcr.xyz
Mon Nov 16 17:01:29 CET 2020


On 2020-11-16 16:08, Thomas Guillem wrote:
> Indeed, the more important, glitch-wise, is to keep the window enabled.
> 
> Can we stop and start the 3 main vouts (gl, d3d9, d3d11) without any glitches? Even when changing the video size for example ?

 From what I understood at least on iOS the background becomes white if 
you remove the display module. But that's probably not hard to fix.

The issue is not the glitch. It's how long it's going to take to unload 
a display module and reload it, for a tiny change that would take almost 
no time to handle directly.

The other issue, already mentioned in another email, is that the 
detection of format change is done on picture.next, not picture.current. 
So we would not display picture.current if we close the display when 
picture.next is just loaded.

And there's also the question of getting picture.next from the 
deinterlacer. There's no way to put it back in the filter for the next 
display to get it.

In short, it's a giant mess to handle with the current code.

> On Mon, Nov 16, 2020, at 16:04, Rémi Denis-Courmont wrote:
>> Le lundi 16 novembre 2020, 13:24:33 EET Steve Lhomme a écrit :
>>> One of the last missing part in push is the possibility to
>>> update/restart the display module when the source changes. A corollary
>>> of this is when we decide to use a converter filter or not.
>>
>> We covered that in the last related workshop. In the push model, there's no
>> point reusing the display anymore, since it won't cause problems with the
>> picture pool, and it won't glitch the window.
>>
>> You can just make a new one. In other words, this is a non-issue.
>>
>> -- 
>> Rémi Denis-Courmont
>>
>>
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> https://mailman.videolan.org/listinfo/vlc-devel
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
> 


More information about the vlc-devel mailing list