diff options
Diffstat (limited to 'toxav/video.h')
-rw-r--r-- | toxav/video.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toxav/video.h b/toxav/video.h index e24d98c9..335240c7 100644 --- a/toxav/video.h +++ b/toxav/video.h | |||
@@ -56,14 +56,14 @@ typedef struct VCSession_s { | |||
56 | ToxAV *av; | 56 | ToxAV *av; |
57 | uint32_t friend_number; | 57 | uint32_t friend_number; |
58 | 58 | ||
59 | toxav_video_receive_frame_cb *on_video_frame; /* Video frame receive callback */ | 59 | PAIR(toxav_video_receive_frame_cb *, void *) vcb; /* Video frame receive callback */ |
60 | 60 | ||
61 | pthread_mutex_t queue_mutex[1]; | 61 | pthread_mutex_t queue_mutex[1]; |
62 | } VCSession; | 62 | } VCSession; |
63 | 63 | ||
64 | VCSession *vc_new(Logger *log, ToxAV *av, uint32_t friend_number, toxav_video_receive_frame_cb *cb); | 64 | VCSession *vc_new(Logger *log, ToxAV *av, uint32_t friend_number, toxav_video_receive_frame_cb *cb, void *cb_data); |
65 | void vc_kill(VCSession *vc); | 65 | void vc_kill(VCSession *vc); |
66 | void vc_iterate(VCSession *vc, void *userdata); | 66 | void vc_iterate(VCSession *vc); |
67 | int vc_queue_message(void *vcp, struct RTPMessage *msg); | 67 | int vc_queue_message(void *vcp, struct RTPMessage *msg); |
68 | int vc_reconfigure_encoder(VCSession *vc, uint32_t bit_rate, uint16_t width, uint16_t height); | 68 | int vc_reconfigure_encoder(VCSession *vc, uint32_t bit_rate, uint16_t width, uint16_t height); |
69 | 69 | ||