FIX: [STUDIO-3551] pass worker thread id to DirectShow
Change-Id: If55e39768ec1e43103c59168b139bb115db6b092
This commit is contained in:
parent
53890cf106
commit
282c785304
1 changed files with 2 additions and 5 deletions
|
@ -114,8 +114,8 @@ void wxMediaCtrl2::Load(wxURI url)
|
|||
keyWmp.SetValue("Permissions", permissions);
|
||||
}
|
||||
}
|
||||
url = wxURI(url.BuildURI().append("&hwnd=").append(
|
||||
boost::lexical_cast<std::string>(GetHandle())));
|
||||
url = wxURI(url.BuildURI().append("&hwnd=").append(boost::lexical_cast<std::string>(GetHandle())).append("&tid=").append(
|
||||
boost::lexical_cast<std::string>(GetCurrentThreadId())));
|
||||
#endif
|
||||
#ifdef __WXGTK3__
|
||||
GstElementFactory *factory;
|
||||
|
@ -171,9 +171,6 @@ void wxMediaCtrl2::Play() { wxMediaCtrl::Play(); }
|
|||
void wxMediaCtrl2::Stop()
|
||||
{
|
||||
wxMediaCtrl::Stop();
|
||||
#ifdef __WIN32__
|
||||
wxMediaCtrl::Load(wxURI());
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef __LINUX__
|
||||
|
|
Loading…
Reference in a new issue