summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuomas Virtanen <katajakasa@gmail.com>2018-09-29 18:48:49 +0300
committerTuomas Virtanen <katajakasa@gmail.com>2018-09-29 18:48:49 +0300
commitf13b325ee0eecdaa7d2acbe0edcaecc8933e39ef (patch)
tree1f2c511e773831d902292bca63bac23d3c90c6e1
parent108948c94a9ee7b115b0448fb3051e5666eec0f3 (diff)
Drop debug logging
-rw-r--r--src/internal/audio/kitaudio.c1
-rw-r--r--src/internal/video/kitvideo.c1
2 files changed, 0 insertions, 2 deletions
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);