[vlc-devel] The --vout options has been disabled on Windows

David Robison david.robison at psgglobal.net
Tue Dec 12 17:53:09 CET 2017


On 4/15/2015 a change was made to the lib/media_player.c file. In the libvlc_media_player_set_hwnd function, the code specific to Windows was changed from

#if defined (_WIN32) || defined (__OS2__)
    var_SetString (p_mi, "window",
                   (drawable != NULL) ? "embed-hwnd,any" : "");
    var_SetInteger (p_mi, "drawable-hwnd", (uintptr_t)drawable);
#else
    (void) p_mi; (void) drawable;
#endif

To

#if defined (_WIN32) || defined (__OS2__)
    var_SetString (p_mi, "avcodec-hw", "");
    var_SetString (p_mi, "vout", "");
    var_SetString (p_mi, "window",
                   (drawable != NULL) ? "embed-hwnd,any" : "");
    var_SetInteger (p_mi, "drawable-hwnd", (uintptr_t)drawable);
#else
    (void) p_mi; (void) drawable;
#endif

The effect seems to be that, at least for Windows, the -vout options are no longer being honored. We use this option to force OpenGL so we can use the GPU affinity option. Was there a reason for disabling this option? Can it be restored

Thoughts? David

David R Robison
Senior Systems Engineer
O. +1 512 247 3700
M. +1 757 286 0022
david.robison at psgglobal.net<mailto:david.robison at psgglobal.net>
www.psgglobal.net<http://www.psgglobal.net/>

[Prometheus Logo - Email Signature]
Prometheus Security Group Global, Inc.
3019 Alvin Devane Boulevard
Building 4, Suite 450
Austin, TX 78741


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20171212/3d39e78f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 247 bytes
Desc: image005.png
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20171212/3d39e78f/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 23688 bytes
Desc: image006.png
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20171212/3d39e78f/attachment-0001.png>


More information about the vlc-devel mailing list