[vlc-devel] [RFC 1/6] libvlc: add rendering callbacks for D3D11 and D3D9

Steve Lhomme robux4 at ycbcr.xyz
Thu May 2 10:10:22 CEST 2019


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).


More information about the vlc-devel mailing list