mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 15:33:00 +02:00
libeplayer3 cleanup
This commit is contained in:
@@ -712,10 +712,12 @@ int LinuxDvbPts(Context_t *context __attribute__((unused)), unsigned long long
|
||||
else
|
||||
linuxdvb_err("VIDEO_GET_PTS: %d (%s)\n", errno, strerror(errno));
|
||||
|
||||
if (audiofd > -1 && ret != cERR_LINUXDVB_NO_ERROR && !ioctl(audiofd, AUDIO_GET_PTS, (void*)&sCURRENT_PTS))
|
||||
ret = cERR_LINUXDVB_NO_ERROR;
|
||||
else
|
||||
linuxdvb_err("AUDIO_GET_PTS: %d (%s)\n", errno, strerror(errno));
|
||||
if (ret != cERR_LINUXDVB_NO_ERROR) {
|
||||
if (audiofd > -1 && !ioctl(audiofd, AUDIO_GET_PTS, (void*)&sCURRENT_PTS))
|
||||
ret = cERR_LINUXDVB_NO_ERROR;
|
||||
else
|
||||
linuxdvb_err("AUDIO_GET_PTS: %d (%s)\n", errno, strerror(errno));
|
||||
}
|
||||
|
||||
if (ret != cERR_LINUXDVB_NO_ERROR)
|
||||
sCURRENT_PTS = 0;
|
||||
|
Reference in New Issue
Block a user