Skip to content

Commit

Permalink
GUACAMOLE-377: Do not use threaded WebP encoder given that guac_displ…
Browse files Browse the repository at this point in the history
…ay will already make use of a worker thread pool.
  • Loading branch information
mike-jumper committed Aug 7, 2024
1 parent 4c4fb6b commit cfacd18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libguac/encode-webp.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ int guac_webp_write(guac_socket* socket, guac_stream* stream,
/* Add additional tuning */
config.lossless = lossless;
config.quality = quality;
config.thread_level = 1; /* Multi threaded */
config.thread_level = 0; /* NOT multi-threaded (threading results in unnecessary overhead vs. the worker threads used by guac_display) */
config.method = 2; /* Compression method (0=fast/larger, 6=slow/smaller) */

/* Validate configuration */
Expand Down

0 comments on commit cfacd18

Please sign in to comment.