Fix inttypes.h usage
...I neglected to put a '%' character before using the PRI* macros.master
parent
8b8217f68e
commit
971faf09d5
|
@ -630,8 +630,8 @@ void audio_line_output(audio_line_t line, const struct audio_data *data)
|
|||
|
||||
} else {
|
||||
blog(LOG_DEBUG, "Bad timestamp for audio line '%s', "
|
||||
"data->timestamp: "PRIu64", "
|
||||
"line->base_timestamp: "PRIu64". This can "
|
||||
"data->timestamp: %"PRIu64", "
|
||||
"line->base_timestamp: %"PRIu64". This can "
|
||||
"sometimes happen when there's a pause in "
|
||||
"the threads.", line->name, data->timestamp,
|
||||
line->base_timestamp);
|
||||
|
|
|
@ -391,7 +391,7 @@ static inline void reset_audio_timing(obs_source_t source, uint64_t timetamp)
|
|||
static inline void handle_ts_jump(obs_source_t source, uint64_t ts,
|
||||
uint64_t diff)
|
||||
{
|
||||
blog(LOG_DEBUG, "Timestamp for source '%s' jumped by '"PRIu64"', "
|
||||
blog(LOG_DEBUG, "Timestamp for source '%s' jumped by '%"PRIu64"', "
|
||||
"resetting audio timing", source->name, diff);
|
||||
|
||||
/* if has video, ignore audio data until reset */
|
||||
|
|
|
@ -293,6 +293,6 @@ int main(int argc, char *argv[])
|
|||
blog(LOG_ERROR, "%s", error);
|
||||
}
|
||||
|
||||
blog(LOG_INFO, "Number of memory leaks: "PRIu64, bnum_allocs());
|
||||
blog(LOG_INFO, "Number of memory leaks: %" PRIu64, bnum_allocs());
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue