improve subtitle handling

Origin commit data
------------------
Branch: master
Commit: 9150713e46
Author: martii <m4rtii@gmx.de>
Date: 2012-11-06 (Tue, 06 Nov 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2012-11-06 14:34:31 +01:00
parent 5ef9887260
commit 79ff14bd82
6 changed files with 28 additions and 4 deletions

View File

@@ -397,6 +397,8 @@ static void ASSThread(Context_t *context) {
// subtitel zeitpunkt zu bestimmen und solange zu schlafen.
#ifdef MARTII
usleep(10000);
if(!context->playback->mayWriteToFramebuffer)
continue;
getMutex(__LINE__);
checkRegions();
#else
@@ -560,7 +562,7 @@ static void ASSThread(Context_t *context) {
ass_printf(10, "terminating\n");
#ifdef MARTII
pthread_exit(NULL);
pthread_exit(NULL);
#endif
}