[vlc-devel] [PATCH 02/26] vout: create/release the decoder device when the window is enabled/disabled

Rémi Denis-Courmont remi at remlab.net
Mon Sep 23 18:50:49 CEST 2019


Le maanantaina 23. syyskuuta 2019, 11.29.23 EEST Steve Lhomme a écrit :
> It's like the display module, it's treated as a resource that is created
> on demand by the decoder. In the past we need a display module to create
> the decoder/VA (depending on the display pictures). Now the VA needs a
> "decoder device" (the hint) before it's created.
> 
> It's true that most decoders (ie not lavc or nvdec) will not need a
> decoder device at all. And I agree we should not create it for those.

On-demand creation avoids the delay and resource usage for software decoder. 
My problem is, now that NVDEC is added, we no longer have a "static" choice of 
decoder device on a given system - NVDEC competes with DirectX and VA/VDPAU.

This potentially breaks the whole idea of creating the decoder device 
(exclusively) from the window. Or NVDEC needs to permanently remain a 
functional superset of DirectX and VA/VDPAU...

-- 
レミ・デニ-クールモン
http://www.remlab.net/





More information about the vlc-devel mailing list