X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c5e63761c870ea4918a3fe049f99fce6707b938..0185cd097844887c308a81fbd137676086ae8580:/utils/wxMMedia2/lib/vidbase.cpp diff --git a/utils/wxMMedia2/lib/vidbase.cpp b/utils/wxMMedia2/lib/vidbase.cpp index 629389b52c..955687ea93 100644 --- a/utils/wxMMedia2/lib/vidbase.cpp +++ b/utils/wxMMedia2/lib/vidbase.cpp @@ -24,10 +24,8 @@ #pragma hdrstop #endif -#if !USE_SHARED_LIBRARY IMPLEMENT_ABSTRACT_CLASS(wxVideoBaseDriver, wxObject) IMPLEMENT_DYNAMIC_CLASS(wxVideoOutput, wxWindow) -#endif wxVideoOutput::wxVideoOutput() : wxWindow() @@ -83,9 +81,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; }