mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Fix compiler warnings.
This commit is contained in:
parent
ca4f519a1f
commit
2d6d151b85
6
codec.c
6
codec.c
@ -935,9 +935,9 @@ static void CodecAudioSetClock(AudioDecoder * audio_decoder, int64_t pts)
|
||||
|
||||
if (0) {
|
||||
Debug(3,
|
||||
"codec/audio: interval P:%5zdms T:%5" PRId64 "ms D:%4" PRId64
|
||||
"ms %f %d\n", pts_diff / 90, tim_diff / (1000 * 1000), delay / 90,
|
||||
drift / 90.0, audio_decoder->DriftCorr);
|
||||
"codec/audio: interval P:%5 " PRId64 "ms T:%5" PRId64 "ms D:%4"
|
||||
PRId64 "ms %f %d\n", pts_diff / 90, tim_diff / (1000 * 1000),
|
||||
delay / 90, drift / 90.0, audio_decoder->DriftCorr);
|
||||
}
|
||||
// underruns and av_resample have the same time :(((
|
||||
if (abs(drift) > 10 * 90) {
|
||||
|
4
video.c
4
video.c
@ -7760,8 +7760,8 @@ static void VdpauDisplayFrame(void)
|
||||
// FIXME: 21 only correct for 50Hz
|
||||
if (last_time && first_time > last_time + 21 * 1000 * 1000) {
|
||||
// FIXME: ignore still-frame, trick-speed
|
||||
Debug(3, "video/vdpau: %ld display time %ld\n", first_time / 1000,
|
||||
(first_time - last_time) / 1000);
|
||||
Debug(3, "video/vdpau: %" PRId64 " display time %" PRId64 "\n",
|
||||
first_time / 1000, (first_time - last_time) / 1000);
|
||||
// FIXME: can be more than 1 frame long shown
|
||||
for (i = 0; i < VdpauDecoderN; ++i) {
|
||||
VdpauDecoders[i]->FramesMissed++;
|
||||
|
Loading…
Reference in New Issue
Block a user