improve subtitle handling

This commit is contained in:
martii
2012-11-06 14:34:31 +01:00
parent 994bd78e4e
commit 9150713e46
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
}