change configure to better detect gstreamer. Check create is valid in mediaplayer sample. Comment the heck out of the unix mediaplayer.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -870,7 +870,12 @@ MyNotebookPage::MyNotebookPage(wxNotebook* theBook) :
|
||||
//
|
||||
// Create our media control
|
||||
//
|
||||
m_mediactrl = new wxMediaCtrl(this, wxID_MEDIACTRL);
|
||||
m_mediactrl = new wxMediaCtrl();
|
||||
|
||||
// Make sure creation was successful
|
||||
bool bOK = m_mediactrl->Create(this, wxID_MEDIACTRL);
|
||||
wxASSERT_MSG(bOK, wxT("Could not create media control!"));
|
||||
|
||||
vertsizer->Add(m_mediactrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user