mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-01 15:49:51 +08:00
Merge pull request #676 from wt/fix_some_printf_compiler_warnings
obs-ffmpeg: Fix a couple printf compiler warnings.
This commit is contained in:
@@ -170,7 +170,7 @@ static void *aac_create(obs_data_t *settings, obs_encoder_t *encoder)
|
||||
enc->context->cutoff = cutoff;
|
||||
}
|
||||
|
||||
info("bitrate: %d, channels: %d",
|
||||
info("bitrate: %" PRId64 ", channels: %d",
|
||||
enc->context->bit_rate / 1000, enc->context->channels);
|
||||
|
||||
init_sizes(enc, audio);
|
||||
|
||||
@@ -892,7 +892,7 @@ static void check_to_drop_frames(struct rtmp_stream *stream, bool pframes)
|
||||
buffer_duration_usec = stream->last_dts_usec - first.dts_usec;
|
||||
|
||||
if (buffer_duration_usec > drop_threshold) {
|
||||
debug("buffer_duration_usec: %lld", buffer_duration_usec);
|
||||
debug("buffer_duration_usec: %" PRId64, buffer_duration_usec);
|
||||
drop_frames(stream, name, priority, p_min_dts_usec);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user