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.
This commit is contained in:
parent
d972a88c1a
commit
bb8afa9324
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue