feat: use FFmpeg media player on macOS with static FFmpeg

This commit is contained in:
Noisyfox
2026-08-14 21:01:43 +08:00
parent ec31750330
commit 2c8f56dd84
4 changed files with 13 additions and 15 deletions
-2
View File
@@ -98,8 +98,6 @@ public:
};
#endif
wxDEFINE_EVENT(EVT_MEDIA_CTRL_STAT, wxCommandEvent);
wxMediaCtrl2::wxMediaCtrl2(wxWindow *parent)
{
#if defined(__LINUX__) && defined(__WXGTK__)
+1 -1
View File
@@ -10,7 +10,7 @@
#include <shellapi.h>
#endif
//wxDEFINE_EVENT(EVT_MEDIA_CTRL_STAT, wxCommandEvent);
wxDEFINE_EVENT(EVT_MEDIA_CTRL_STAT, wxCommandEvent);
BEGIN_EVENT_TABLE(wxMediaCtrl3, wxWindow)
-9
View File
@@ -15,13 +15,6 @@ wxDECLARE_EVENT(EVT_MEDIA_CTRL_STAT, wxCommandEvent);
void wxMediaCtrl_OnSize(wxWindow * ctrl, wxSize const & videoSize, int width, int height);
#ifdef __WXMAC__
#include "wxMediaCtrl2.h"
#define wxMediaCtrl3 wxMediaCtrl2
#else
#define BAMBU_DYNAMIC
#include <condition_variable>
#include <thread>
@@ -89,6 +82,4 @@ private:
std::thread m_thread;
};
#endif
#endif /* wxMediaCtrl3_h */