Hi danieltidus,
okay, it works!
The following code creates a root window which includes two
child windows and plays two videos in parallel.
The root window is a full screen window.
The child windows are located at 0,0,199,199 and
200,200,399,399 within the root window.
Please note that the child windows MUST be created
WITHOUT own surfaces (own_surface=false). This means
that the child windows share its surfaces with the
parent window (the root window). They have no own
surface memory allocated.
Please note that the child windows will be visible
only if the root window will also be shown.
// create the root window
MMSRootWindow *rw = new MMSRootWindow("", "100%", "100%",
MMSALIGNMENT_CENTER,
(MMSWINDOW_FLAGS)MMSW_VIDEO);
// create and show root's first child window
bool own_surface = false;
MMSChildWindow *cw1 = new MMSChildWindow("", rw,
"0px", "0px", "200px", "200px",
MMSALIGNMENT_TOP_LEFT,
MMSW_NONE, NULL, &own_surface);
cw1->show();
// create and show root's second child window
MMSChildWindow *cw2 = new MMSChildWindow("", rw,
"200px", "200px", "200px", "200px",
MMSALIGNMENT_TOP_LEFT,
MMSW_NONE, NULL, &own_surface);
cw2->show();
// show the root window
rw->show();
// new MMSVideo instance using child window cw1
MMSVideo *mmsvideo1 = new MMSVideo(cw1);
mmsvideo1->startPlaying("file1"

;
// new MMSVideo instance using child window cw2
MMSVideo *mmsvideo2 = new MMSVideo(cw2);
mmsvideo2->startPlaying("file2"

;
I hope it will help you.
Regards
Jens