wxMediaCtrl not working on Windows10

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
ionutdinulescu
In need of some credit
In need of some credit
Posts: 1
Joined: Tue Dec 05, 2017 1:29 pm

wxMediaCtrl not working on Windows10

Post by ionutdinulescu »

Hi,

Using wxWidgets 3.1.0 (64bit)

The following code used to work ok on Windows10 (Create returned true and I could further load and play a video):

Code: Select all

    m_mediactrl = new wxMediaCtrl();
    bool bOK = m_mediactrl->Create(this, wxID_MEDIACTRL, wxEmptyString, wxPoint(0, 0), size, 0, wxMEDIABACKEND_WMP10);
 
After latest windows updates, Create() returns false.
Same result with wxMEDIABACKEND_DIRECTSHOW backend.
And I get the same error in the mediaplayer sample

Anyone experienced the same and how did you fix it?

Thanks.
User avatar
eranon
Can't get richer than this
Can't get richer than this
Posts: 867
Joined: Sun May 13, 2012 11:42 pm
Location: France
Contact:

Re: wxMediaCtrl not working on Windows10

Post by eranon »

Never used wxMediaCtrl, but I would step into Create to see where it fails...
[Ind. dev. - wxWidgets 3.0/3.1 under "Win 7 64-bit, TDM64-GCC" + "OS X 10.9, LLVM Clang"]
Post Reply