Fixed dead-lock when seeking with the video paused. Should come
up with something better... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38830 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ec646de243
commit
424c4f3bdf
@ -299,8 +299,8 @@ VideoView::SetSubTitle(const char* text)
|
||||
fSubtitleBitmap->SetText(text);
|
||||
}
|
||||
// TODO: Make smarter and invalidate only previous subtitle bitmap
|
||||
// region;
|
||||
if (!fIsPlaying && LockLooper()) {
|
||||
// region. Fix locking, too...
|
||||
if (!fIsPlaying && LockLooperWithTimeout(1000) == B_OK) {
|
||||
Invalidate();
|
||||
UnlockLooper();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user