diff options
Diffstat (limited to 'src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp')
-rw-r--r-- | src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp b/src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp index a004a66..72ac06c 100644 --- a/src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp +++ b/src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp @@ -1034,7 +1034,7 @@ int MilesSessionInvoker::video_transmitter(struct miles_video_grabber_context *g } gettimeofday(&now, 0); tbf = 100000 / grabber->frame_rate; - if (elapsed_time(&last_time, &now) < tbf) + if (miles_elapsed_time(&last_time, &now) < tbf) return 0; last_time = now; |