]> granicus.if.org Git - handbrake/commitdiff
sync: imporve accuracy of logged min/max fps
authorJohn Stebbins <jstebbins.hb@gmail.com>
Tue, 12 Mar 2019 17:29:24 +0000 (11:29 -0600)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Tue, 12 Mar 2019 17:29:24 +0000 (11:29 -0600)
libhb/sync.c

index 17a0e73bd522fe54f68b0cf85c7da1a83095ef2b..4969b2268cf947022219d1f31809f49d74cd9f0d 100644 (file)
@@ -93,8 +93,8 @@ typedef struct
 
     // frame statistics
     int64_t             first_pts;
-    int64_t             min_frame_duration;
-    int64_t             max_frame_duration;
+    double              min_frame_duration;
+    double              max_frame_duration;
     int64_t             current_duration;
     int                 frame_count;