libeplayer3 cleanup

Origin commit data
------------------
Branch: master
Commit: ad36db9281
Author: martii <m4rtii@gmx.de>
Date: 2013-07-14 (Sun, 14 Jul 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2013-07-14 14:55:48 +02:00
parent 3a9e1a77da
commit 8bdb757351
2 changed files with 24 additions and 9 deletions

View File

@@ -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;