jpeg: don't overwrite jpeg quality unless zero
This commit is contained in:
parent
da2a5ac7bc
commit
8e2dac6813
@ -378,6 +378,7 @@ int freerdp_parse_args(rdpSettings* settings, int argc, char** argv,
|
|||||||
printf("setting codec jpeg\n");
|
printf("setting codec jpeg\n");
|
||||||
settings->v3_codec_id = CODEC_ID_JPEG;
|
settings->v3_codec_id = CODEC_ID_JPEG;
|
||||||
settings->jpeg_codec = true;
|
settings->jpeg_codec = true;
|
||||||
|
if (settings->jpeg_quality == 0)
|
||||||
settings->jpeg_quality = 75;
|
settings->jpeg_quality = 75;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user