diff options
author | Max Kellermann <max@duempel.org> | 2011-08-30 08:13:28 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-08-31 08:32:09 +0200 |
commit | 395191bd75541c1709ee1d1bad4af5140317ddea (patch) | |
tree | 7285f02a4a157a025646bae53ea613fc7616bd21 /src/rtsp_client.h | |
parent | ec7d8fb6bd7b9a83e354aa5cb1c812435d587fab (diff) | |
download | mpd-395191bd75541c1709ee1d1bad4af5140317ddea.tar.gz mpd-395191bd75541c1709ee1d1bad4af5140317ddea.tar.xz mpd-395191bd75541c1709ee1d1bad4af5140317ddea.zip |
rtsp_client: use the I/O thread
Make the code portable.
Diffstat (limited to 'src/rtsp_client.h')
-rw-r--r-- | src/rtsp_client.h | 8 |
1 files changed, 7 insertions, 1 deletions
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; |