[vlc-devel] [RFC 1/6] libvlc: add rendering callbacks for D3D11 and D3D9
remi at remlab.net
Thu May 2 16:31:14 CEST 2019
Le torstaina 2. toukokuuta 2019, 11.10.22 EEST Steve Lhomme a écrit :
> On 5/2/2019 10:04 AM, Steve Lhomme wrote:
> > On 4/30/2019 6:41 PM, Rémi Denis-Courmont wrote: What's the point of
> > this static assertion? Structures of different types cannot
> >> alias even if they have the same layout and representation, AFAIK.
> > Because the libvlc API mimicks the vlc_vout_display API I did for
> > rendering:
> > https://code.videolan.org/robUx4/vlc/blob/libvlc/callbacks/59/include/vlc_
> > vout_display.h#L458
> It's also a safety in case something is added on the display module side
> and not handled in the libvlc side (either ignoring on purpose or update
> the API).
It's much worse actually. You won't know what version the application support
until you try and fail.
In the past, we just added new functions so we know up-front what the
More information about the vlc-devel