Replace '%g' by '%f' as printf format
For some reason, '%g' does not work correctly with MinGW. Refs #3369 <https://github.com/Genymobile/scrcpy/pull/3369> PR #3399 <https://github.com/Genymobile/scrcpy/pull/3399>
This commit is contained in:
@@ -98,7 +98,7 @@ sc_clock_update(struct sc_clock *clock, sc_tick system, sc_tick stream) {
|
||||
sc_clock_estimate(clock, &clock->slope, &clock->offset);
|
||||
|
||||
#ifndef SC_CLOCK_NDEBUG
|
||||
LOGD("Clock estimation: %g * pts + %" PRItick,
|
||||
LOGD("Clock estimation: %f * pts + %" PRItick,
|
||||
clock->slope, clock->offset);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user