[vlc-devel] [PATCH] direct3d9: fix orientation

Salah-Eddin Shaban salah at videolan.org
Thu Nov 16 15:38:10 CET 2017

On Thu, Nov 16, 2017 at 9:36 AM, Steve Lhomme <robux4 at gmail.com> wrote:
> On Wed, Nov 15, 2017 at 5:12 PM, Salah-Eddin Shaban <salah at videolan.org> wrote:
>> Hello again,
>> As JB requested, I tested this with the samples from #2882, and indeed
>> there's a problem.
>> Without this patch direct3d9 and opengl behave the same for the #2882
> And also for D3D11 so there's a good chance they have the correct behavior.

Hello Steve,

There is currently an orientation problem in both D3D9 and D3D11 when
opening RGB video sources in DirectShow, it is explained here:


This problem does not occur with the opengl vout.

> Your patch uses the same values found in D3D11

I didn't know that. I used Remi's answer to that message to rearrange
the vertices:


More information about the vlc-devel mailing list