From 14484c6879ff5796d962b49aa76a7f3e04c2319c Mon Sep 17 00:00:00 2001 From: "zugz (tox)" Date: Fri, 17 Aug 2018 19:22:18 +0200 Subject: make Mono_Time an argument to current_time_monotonic --- toxav/video.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'toxav/video.h') diff --git a/toxav/video.h b/toxav/video.h index 898c986a..14d866d1 100644 --- a/toxav/video.h +++ b/toxav/video.h @@ -60,11 +60,11 @@ typedef struct VCSession_s { pthread_mutex_t queue_mutex[1]; } VCSession; -VCSession *vc_new(const Logger *log, ToxAV *av, uint32_t friend_number, toxav_video_receive_frame_cb *cb, - void *cb_data); +VCSession *vc_new(const Mono_Time *mono_time, const Logger *log, ToxAV *av, uint32_t friend_number, + toxav_video_receive_frame_cb *cb, void *cb_data); void vc_kill(VCSession *vc); void vc_iterate(VCSession *vc); -int vc_queue_message(void *vcp, struct RTPMessage *msg); +int vc_queue_message(const Mono_Time *mono_time, void *vcp, struct RTPMessage *msg); int vc_reconfigure_encoder(VCSession *vc, uint32_t bit_rate, uint16_t width, uint16_t height, int16_t kf_max_dist); #endif /* VIDEO_H */ -- cgit v1.2.3