diff options
author | Johns <johns98@gmx.net> | 2012-04-17 16:45:27 +0200 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2012-04-17 16:45:27 +0200 |
commit | 79e78bf235b9e15b058ec02da5926c6d6577300b (patch) | |
tree | 8b2b32198b4684cbf44fc5df6c4c9bcc9eb1b7e8 /codec.c | |
parent | c9ef8b759a6fc3e8595630e7bdb8f585f035e8da (diff) | |
download | vdr-plugin-softhddevice-79e78bf235b9e15b058ec02da5926c6d6577300b.tar.gz vdr-plugin-softhddevice-79e78bf235b9e15b058ec02da5926c6d6577300b.tar.bz2 |
Show black picture, if no video stream available.
New audio ring code.
New audio filters (first part).
Diffstat (limited to 'codec.c')
-rw-r--r-- | codec.c | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -949,8 +949,14 @@ static void CodecAudioSetClock(AudioDecoder * audio_decoder, int64_t pts) av_resample_compensate(audio_decoder->AvResample, audio_decoder->DriftCorr / 10, distance); } - Debug(3, "codec/audio: drift(%6d) %8dus %5d\n", audio_decoder->DriftCorr, - drift * 1000 / 90, corr); + if (1) { + static int c; + + if (!(c++ % 10)) { + Debug(3, "codec/audio: drift(%6d) %8dus %5d\n", + audio_decoder->DriftCorr, drift * 1000 / 90, corr); + } + } } /** |