From 395191bd75541c1709ee1d1bad4af5140317ddea Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 30 Aug 2011 08:13:28 +0200 Subject: rtsp_client: use the I/O thread Make the code portable. --- src/rtsp_client.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/rtsp_client.h') diff --git a/src/rtsp_client.h b/src/rtsp_client.h index 5b56af9da..5c8425248 100644 --- a/src/rtsp_client.h +++ b/src/rtsp_client.h @@ -42,7 +42,13 @@ struct key_data { }; struct rtspcl_data { - int fd; + GMutex *mutex; + GCond *cond; + + GQueue *received_lines; + + struct tcp_socket *tcp_socket; + char url[128]; int cseq; struct key_data *exthds; -- cgit v1.2.3