mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 15:32:43 +02:00
libeplayer3/linuxdvb: reduce debug spam
Origin commit data
------------------
Branch: master
Commit: 9b7139ada1
Author: martii <m4rtii@gmx.de>
Date: 2013-12-15 (Sun, 15 Dec 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -705,26 +705,13 @@ int LinuxDvbPts(Context_t * context
|
|||||||
// pts is a non writting requests and can be done in parallel to other requests
|
// pts is a non writting requests and can be done in parallel to other requests
|
||||||
//getLinuxDVBMutex(FILENAME, __FUNCTION__,__LINE__);
|
//getLinuxDVBMutex(FILENAME, __FUNCTION__,__LINE__);
|
||||||
|
|
||||||
if (videofd > -1
|
if ((videofd > -1 && !ioctl(videofd, VIDEO_GET_PTS, (void *) &sCURRENT_PTS))
|
||||||
&& !ioctl(videofd, VIDEO_GET_PTS, (void *) &sCURRENT_PTS))
|
|| (audiofd > -1 && !ioctl(audiofd, AUDIO_GET_PTS, (void *) &sCURRENT_PTS)))
|
||||||
ret = cERR_LINUXDVB_NO_ERROR;
|
ret = cERR_LINUXDVB_NO_ERROR;
|
||||||
else
|
else
|
||||||
linuxdvb_err("VIDEO_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;
|
sCURRENT_PTS = 0;
|
||||||
|
|
||||||
*((unsigned long long int *) pts) =
|
*((unsigned long long int *) pts) = (unsigned long long int) sCURRENT_PTS;
|
||||||
(unsigned long long int) sCURRENT_PTS;
|
|
||||||
|
|
||||||
//releaseLinuxDVBMutex(FILENAME, __FUNCTION__,__LINE__);
|
//releaseLinuxDVBMutex(FILENAME, __FUNCTION__,__LINE__);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user