diff options
author | tmcqueen-materials <tmcqueen-materials@users.noreply.github.com> | 2017-04-20 17:13:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-20 17:13:00 -0400 |
commit | ecb81d0e758b0bab0e13f10ac874e4d72b98aec0 (patch) | |
tree | 72785dd84956e9cdf9c069496601ed1de96fdd26 /client_examples/vnc2mpg.c | |
parent | 709c8ea862979e88d79e9cbbc61e606070325848 (diff) | |
download | libtdevnc-ecb81d0e758b0bab0e13f10ac874e4d72b98aec0.tar.gz libtdevnc-ecb81d0e758b0bab0e13f10ac874e4d72b98aec0.zip |
Update vnc2mpg.c
correct mistaken references to update_time...
Diffstat (limited to 'client_examples/vnc2mpg.c')
-rw-r--r-- | client_examples/vnc2mpg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client_examples/vnc2mpg.c b/client_examples/vnc2mpg.c index 38578d6..a7438af 100644 --- a/client_examples/vnc2mpg.c +++ b/client_examples/vnc2mpg.c @@ -465,7 +465,7 @@ int main(int argc, char **argv) } if (!quit) { clock_gettime(CLOCK_MONOTONIC, &cur_time); - write_video_frame(oc, &video_st, update_time_for_next(framerate, &start_time, &cur_time)); + write_video_frame(oc, &video_st, time_to_pts(framerate, &start_time, &cur_time)); if ((cur_time.tv_sec - start_time.tv_sec) > max_time && max_time > 0) { quit = TRUE; } |