improve subtitle handling

This commit is contained in:
martii
2012-11-06 14:34:31 +01:00
parent 4a7345e6e6
commit 0d9281063b
4 changed files with 17 additions and 3 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
}