Add FPS counter

Remove frame counter from scrcpy.c and add a new FPS counter, logging as
INFO the measured frame rate every second (on new frame).
This commit is contained in:
Romain Vimont
2018-02-15 11:10:58 +01:00
parent c6c17af840
commit 38e6682875
6 changed files with 99 additions and 21 deletions

View File

@@ -6,6 +6,7 @@ src = [
'src/convert.c',
'src/decoder.c',
'src/device.c',
'src/fpscounter.c',
'src/frames.c',
'src/lockutil.c',
'src/netutil.c',