mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libeplayer3/linuxdvb: reduce debug spam
This commit is contained in:
@@ -520,7 +520,7 @@ static void FFMPEGThread(Context_t * context)
|
|||||||
&packet);
|
&packet);
|
||||||
if (len < 0) {
|
if (len < 0) {
|
||||||
restart_audio_resampling = 1;
|
restart_audio_resampling = 1;
|
||||||
// fprintf(stderr, "avcodec_decode_audio4: %d\n", len);
|
// fprintf(stderr, "avcodec_decode_audio4: %d\n", len);
|
||||||
break;
|
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
|
// 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