mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 15:33:00 +02:00
Improve playback of VP9 codec
This commit is contained in:
@@ -78,7 +78,7 @@ pthread_mutex_t LinuxDVBmutex;
|
||||
/* ***************************** */
|
||||
/* Prototypes */
|
||||
/* ***************************** */
|
||||
int32_t LinuxDvbBuffOpen(Context_t *context, char *type, int outfd);
|
||||
int32_t LinuxDvbBuffOpen(Context_t *context, char *type, int outfd, void *mtx);
|
||||
int32_t LinuxDvbBuffClose(Context_t *context);
|
||||
int32_t LinuxDvbBuffFlush(Context_t *context);
|
||||
int32_t LinuxDvbBuffResume(Context_t *context);
|
||||
@@ -139,7 +139,7 @@ int LinuxDvbOpen(Context_t *context __attribute__((unused)), char *type)
|
||||
}
|
||||
|
||||
if (isBufferedOutput)
|
||||
LinuxDvbBuffOpen(context, type, videofd);
|
||||
LinuxDvbBuffOpen(context, type, videofd, &LinuxDVBmutex);
|
||||
}
|
||||
if (audio && audiofd < 0)
|
||||
{
|
||||
@@ -173,7 +173,7 @@ int LinuxDvbOpen(Context_t *context __attribute__((unused)), char *type)
|
||||
}
|
||||
|
||||
if (isBufferedOutput)
|
||||
LinuxDvbBuffOpen(context, type, audiofd);
|
||||
LinuxDvbBuffOpen(context, type, audiofd, &LinuxDVBmutex);
|
||||
}
|
||||
|
||||
return cERR_LINUXDVB_NO_ERROR;
|
||||
|
Reference in New Issue
Block a user