mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02: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:
@@ -520,7 +520,7 @@ static void FFMPEGThread(Context_t * context)
|
||||
&packet);
|
||||
if (len < 0) {
|
||||
restart_audio_resampling = 1;
|
||||
// fprintf(stderr, "avcodec_decode_audio4: %d\n", len);
|
||||
// fprintf(stderr, "avcodec_decode_audio4: %d\n", len);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@@ -705,26 +705,13 @@ int LinuxDvbPts(Context_t * context
|
||||
// pts is a non writting requests and can be done in parallel to other requests
|
||||
//getLinuxDVBMutex(FILENAME, __FUNCTION__,__LINE__);
|
||||
|
||||
if (videofd > -1
|
||||
&& !ioctl(videofd, VIDEO_GET_PTS, (void *) &sCURRENT_PTS))
|
||||
if ((videofd > -1 && !ioctl(videofd, VIDEO_GET_PTS, (void *) &sCURRENT_PTS))
|
||||
|| (audiofd > -1 && !ioctl(audiofd, AUDIO_GET_PTS, (void *) &sCURRENT_PTS)))
|
||||
ret = cERR_LINUXDVB_NO_ERROR;
|
||||
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;
|
||||
|
||||
*((unsigned long long int *) pts) =
|
||||
(unsigned long long int) sCURRENT_PTS;
|
||||
*((unsigned long long int *) pts) = (unsigned long long int) sCURRENT_PTS;
|
||||
|
||||
//releaseLinuxDVBMutex(FILENAME, __FUNCTION__,__LINE__);
|
||||
|
||||
|
Reference in New Issue
Block a user