Fix comment about data sent over the socket

We now send the device name in addition to the screen dimensions on the
socket. Update the comment accordingly.
master
Romain Vimont 8 years ago
parent d972a88c1a
commit bb8afa9324

@ -283,7 +283,7 @@ SDL_bool show_screen(const char *serial, Uint16 local_port) {
decoder.video_socket = device_socket; decoder.video_socket = device_socket;
decoder.skip_frames = SDL_TRUE; decoder.skip_frames = SDL_TRUE;
// now we consumed the width and height values, the socket receives the video stream // now we consumed the header values, the socket receives the video stream
// start the decoder // start the decoder
if (!decoder_start(&decoder)) { if (!decoder_start(&decoder)) {
ret = SDL_FALSE; ret = SDL_FALSE;

Loading…
Cancel
Save