… | |
… | |
313 | int mask = (atoi (buf) & CF_FACE_CACHE), mode = (atoi (buf) & ~CF_FACE_CACHE); |
313 | int mask = (atoi (buf) & CF_FACE_CACHE), mode = (atoi (buf) & ~CF_FACE_CACHE); |
314 | |
314 | |
315 | if (mode == CF_FACE_NONE) |
315 | if (mode == CF_FACE_NONE) |
316 | ns->facecache = 1; |
316 | ns->facecache = 1; |
317 | else if (mode != CF_FACE_PNG) |
317 | else if (mode != CF_FACE_PNG) |
318 | { |
|
|
319 | packet sl; |
|
|
320 | sl.printf ("drawinfo %d %s", NDI_RED, "Warning - send unsupported face mode. Will use Png"); |
318 | ns->send_packet_printf ("drawinfo %d %s", NDI_RED, "Warning - send unsupported face mode. Will use Png"); |
321 | ns->send_packet (sl); |
|
|
322 | } |
|
|
323 | |
319 | |
324 | if (mask) |
320 | if (mask) |
325 | ns->facecache = 1; |
321 | ns->facecache = 1; |
326 | } |
322 | } |
327 | |
323 | |