I took a look at the direct3d module. I would like to develop my own module that manages to separate HWND instances.
Can I develop my own module (without recompiling libvlc.dll/libvlccore.dll), provided that my dll is in the correct location, and has the correct exports?
For example, if I create a .dll with the following...
Code: Select all
#define D3D_HELP ("Renders two displays")
#define HW_BLENDING_TEXT ("Use hardware blending support")
#define HW_BLENDING_LONGTEXT ("Try to use hardware acceleration for subtitle/OSD blending.")
vlc_module_begin()
set_shortname("Dual Direct3D")
set_description("Dual Direct3D video output")
set_help(D3D_HELP)
set_category(CAT_VIDEO)
set_subcategory(SUBCAT_VIDEO_VOUT)
add_bool("direct3d-hw-blending", true, HW_BLENDING_TEXT, HW_BLENDING_LONGTEXT, true)
set_capability("vout display", 240)
add_shortcut("dualdirect3d")
set_callbacks(Open, Close)
vlc_module_end()
Or, is there a better way to display video in two separate HWND instances that I am unware of?