jpeg: don't overwrite jpeg quality unless zero
This commit is contained in:
parent
da2a5ac7bc
commit
8e2dac6813
@ -378,7 +378,8 @@ 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;
|
||||||
settings->jpeg_quality = 75;
|
if (settings->jpeg_quality == 0)
|
||||||
|
settings->jpeg_quality = 75;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user