From f13b325ee0eecdaa7d2acbe0edcaecc8933e39ef Mon Sep 17 00:00:00 2001 From: Tuomas Virtanen Date: Sat, 29 Sep 2018 18:48:49 +0300 Subject: Drop debug logging --- src/internal/audio/kitaudio.c | 1 - src/internal/video/kitvideo.c | 1 - 2 files changed, 2 deletions(-) (limited to 'src') diff --git a/src/internal/audio/kitaudio.c b/src/internal/audio/kitaudio.c index a1fbd63..e4ac6a7 100644 --- a/src/internal/audio/kitaudio.c +++ b/src/internal/audio/kitaudio.c @@ -290,7 +290,6 @@ int Kit_GetAudioDecoderData(Kit_Decoder *dec, unsigned char *buf, int len) { return 0; } else if(packet->pts < sync_ts - KIT_AUDIO_SYNC_THRESHOLD) { // Audio is lagging, skip until good pts is found - LOG("A LAG %f < %f\n", packet->pts, sync_ts - KIT_AUDIO_SYNC_THRESHOLD); Kit_AdvanceDecoderOutput(dec); while(1) { next_packet = Kit_ReadDecoderOutput(dec); diff --git a/src/internal/video/kitvideo.c b/src/internal/video/kitvideo.c index d0dd74b..7b0d1de 100644 --- a/src/internal/video/kitvideo.c +++ b/src/internal/video/kitvideo.c @@ -262,7 +262,6 @@ int Kit_GetVideoDecoderData(Kit_Decoder *dec, SDL_Texture *texture) { return 0; } else if(packet->pts < sync_ts - KIT_VIDEO_SYNC_THRESHOLD) { // Video is lagging, skip until we find a good PTS to continue from. - LOG("V LAG %f < %f\n", packet->pts, sync_ts - KIT_VIDEO_SYNC_THRESHOLD); Kit_AdvanceDecoderOutput(dec); while(packet != NULL) { next_packet = Kit_PeekDecoderOutput(dec); -- cgit v1.2.3