mirror of https://github.com/odrling/Aegisub
Kill VideoContext::playMutex. I assume it was a relic from the old threaded video display code as it's completely pointless.
Originally committed to SVN as r5961.
This commit is contained in:
parent
73ee949d55
commit
1f534bc757
|
@ -434,13 +434,7 @@ void VideoContext::Stop() {
|
|||
}
|
||||
}
|
||||
|
||||
void VideoContext::OnPlayTimer(wxTimerEvent &event) {
|
||||
// Lock
|
||||
wxMutexError res = playMutex.TryLock();
|
||||
if (res == wxMUTEX_BUSY) return;
|
||||
playMutex.Unlock();
|
||||
wxMutexLocker lock(playMutex);
|
||||
|
||||
void VideoContext::OnPlayTimer(wxTimerEvent &) {
|
||||
// Get time difference
|
||||
int dif = playTime.Time();
|
||||
|
||||
|
|
|
@ -92,9 +92,6 @@ class VideoContext : public wxEvtHandler {
|
|||
/// DOCME
|
||||
wxString keyFramesFilename;
|
||||
|
||||
/// DOCME
|
||||
wxMutex playMutex;
|
||||
|
||||
/// DOCME
|
||||
wxTimer playback;
|
||||
|
||||
|
|
Loading…
Reference in New Issue