Skip to content

Commit

Permalink
Fixed ignored remote desktop quality, #3569
Browse files Browse the repository at this point in the history
  • Loading branch information
Ylianst committed Jan 31, 2022
1 parent b533630 commit 1fe1ed9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MeshCentralDesktop.cs
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ public void onBinaryData(MeshCentralTunnel tunnel, byte[] data, int off, int len
if (xencoderCompression > 100) { xencoderCompression = 100; }
if (xencoderCompression != encoderCompression)
{
encoderCompression = xencoderCompression;
EncoderParameter myEncoderParameter = new EncoderParameter(System.Drawing.Imaging.Encoder.Quality, encoderCompression);
myEncoderParameters.Param[0] = myEncoderParameter;
}
Expand Down

0 comments on commit 1fe1ed9

Please sign in to comment.