[vlc-devel] Re: [PATCH] Configurable preferred display device on DirectX

Gildas Bazin gbazin at altern.org
Mon Jan 5 23:05:03 CET 2004


On Sunday 04 January 2004 00:39, Mike Schrag wrote:
> The UI isn't the most user friendly, but it's a start.  Basically this 
> patch adds a configuration option to the directx output plugin where the 
> user can specify the devicename of the display they want video to go to 
> (rather than always defaulting the whatever display the control window 
> is on) -- this is nice for a setup where you always want video to go to 
> a second display (regardless of where the control window is).  If the 
> devicename is blank, it will default to the previous behavior.  Examples 
> of valid display names are \\.\DISPLAY1 or \\.\DISPLAY2
> 

Nice patch, thanks very much :)

I've just committed a slightly changed version. Basically I modified it to 
our coding conventions and I also skipped the SetWindowPos() bit... what 
was the reason behing this anyway ?

> The next step is to switch it from a text field to a pulldown of 
> available displays

Done (not tested yet though).

> along with a little more error checking in the case 
> where you specify a display that is subsequently removed.  There's also 
> currently a flicker where the window opens on the primary display and is 
> immediately repositioned onto the preferred display -- i'm looking into 
> that also.
> 

Great to have someone contributing to the win32 port :)

Thanks,

--
Gildas 

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list