summaryrefslogtreecommitdiff
path: root/toxav/video.h
diff options
context:
space:
mode:
authorzugz (tox) <mbays+tox@sdf.org>2018-08-17 19:22:18 +0200
committerzugz (tox) <mbays+tox@sdf.org>2018-08-19 23:41:43 +0200
commit14484c6879ff5796d962b49aa76a7f3e04c2319c (patch)
treec02cf58bb7e047d01f5493d811a75eec2dfaecee /toxav/video.h
parente32e0b3402006dabfc44e9a3eb1e806d9d3fc00d (diff)
make Mono_Time an argument to current_time_monotonic
Diffstat (limited to 'toxav/video.h')
-rw-r--r--toxav/video.h6
1 files changed, 3 insertions, 3 deletions
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 {
60 pthread_mutex_t queue_mutex[1]; 60 pthread_mutex_t queue_mutex[1];
61} VCSession; 61} VCSession;
62 62
63VCSession *vc_new(const Logger *log, ToxAV *av, uint32_t friend_number, toxav_video_receive_frame_cb *cb, 63VCSession *vc_new(const Mono_Time *mono_time, const Logger *log, ToxAV *av, uint32_t friend_number,
64 void *cb_data); 64 toxav_video_receive_frame_cb *cb, void *cb_data);
65void vc_kill(VCSession *vc); 65void vc_kill(VCSession *vc);
66void vc_iterate(VCSession *vc); 66void vc_iterate(VCSession *vc);
67int vc_queue_message(void *vcp, struct RTPMessage *msg); 67int vc_queue_message(const Mono_Time *mono_time, void *vcp, struct RTPMessage *msg);
68int vc_reconfigure_encoder(VCSession *vc, uint32_t bit_rate, uint16_t width, uint16_t height, int16_t kf_max_dist); 68int vc_reconfigure_encoder(VCSession *vc, uint32_t bit_rate, uint16_t width, uint16_t height, int16_t kf_max_dist);
69 69
70#endif /* VIDEO_H */ 70#endif /* VIDEO_H */