FIX: pass error from gstreamer to wxMediaCtrl

Change-Id: If275d0ebeb7089f67ad366811dc48009b86af564
This commit is contained in:
chunmao.guo 2023-07-12 15:26:25 +08:00 committed by Lane.Wei
parent 34ba0612c4
commit 02f2e51c2e
2 changed files with 5 additions and 3 deletions

View file

@ -177,7 +177,7 @@ void wxMediaCtrl2::Stop()
}
#ifdef __LINUX__
extern int gst_bambu_last_error;
extern "C" int gst_bambu_last_error;
#endif
int wxMediaCtrl2::GetLastError() const