Start xanim only when we are ready to play
Renamed StartPlay in Play Added wxVideoBaseDriver::GetSize git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -83,9 +83,9 @@ wxFrame *wxVideoCreateFrame(wxVideoBaseDriver *vid_drv)
|
||||
vid_out->DynamicSize(TRUE);
|
||||
frame->Layout();
|
||||
frame->Show(TRUE);
|
||||
wxYield();
|
||||
|
||||
vid_drv->AttachOutput(*vid_out);
|
||||
vid_drv->Play();
|
||||
|
||||
return frame;
|
||||
}
|
||||
|
Reference in New Issue
Block a user