improve subtitle handling

This commit is contained in:
martii
2012-11-06 14:34:31 +01:00
committed by Stefan Seyfried
parent f0446eeeb2
commit 4cf92f8102
4 changed files with 17 additions and 3 deletions

View File

@@ -398,6 +398,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
@@ -561,7 +563,7 @@ static void ASSThread(Context_t *context) {
ass_printf(10, "terminating\n");
#ifdef MARTII
pthread_exit(NULL);
pthread_exit(NULL);
#endif
}