Postby askem87 » 24 Mar 2009 14:34
Ok... I'm getting a little closer I think, still not really sure. Here's some ideas in case it triggers some ideas in anyone...
From the help file (vlc --long-help)
--directx-device={} Name of desired display device
In a multiple monitor configuration, you can specify the Windows
device name of the display that you want the video window to open on.
For example, "\\.\DISPLAY1" or "\\.\DISPLAY2".
I was thinking maybe I can use this option in the, "void libvlc_media_add_option()" function
From doxygen
void libvlc_media_add_option ( libvlc_media_t * p_md,
const char * ppsz_options,
libvlc_exception_t * p_e
)
Add an option to the media.
This option will be used to determine how the media_player will read the media. This allows to use VLC's advanced reading/streaming options on a per-media basis.
The options are detailed in vlc --long-help, for instance "--sout-all"
My problem at the moment is I'm not sure how to use this ppsz_options thing. Doxygen says it's a string, so perhaps something like "--directx-device={\\.\DISPLAY1}" would work?
How do I find out the name of each specific monitor on my system?
Do I have to set VLC to be in DirectX mode somewhere before I can use this?
Thanks,
Ben