Page 1 of 1

libvlc 3.0 + libvlc_media_player_set_hwnd = ugly video output (Windows, x86)

Posted: 22 Apr 2017 16:53
by r21514
Hey! Are there any changes about how drawable/libvlc_media_player_set_hwnd works on Windows (x86) in vlc 3.0 ?

I have a simple test application - only one window and nothing else. It looks bad, video in not resized with window and is in wrong position. With VLC 1.1-2.2.x same EXE works ok.

The difference I can see is that there is no child vlc-window inside my window, as it was in 1.1-2.2.x. Libvlc somehow renders directly to my window.

Image

Re: libvlc 3.0 + libvlc_media_player_set_hwnd = ugly video output (Windows, x86)

Posted: 22 Apr 2017 17:13
by RĂ©mi Denis-Courmont
File a bug.

Re: libvlc 3.0 + libvlc_media_player_set_hwnd = ugly video output (Windows, x86)

Posted: 22 Apr 2017 17:58
by r21514
I'm not sure how to report this.
I ran a test and have very strange result.

So the problem appears in vlc-3.0.0-20161130-0248-git-win32 and is present till today, last working version is vlc-3.0.0-20161128-0239-git-win32.

The source of the problem is plugins\videoutput\libgl_plugin.dll. If I delete this DLL all is OK.

And I don't even use OpenGL, I don't set video output module, so default (Direct3D) is used.

So what exactly... eeee... I should report?