mirror of
https://github.com/openstf/stf
synced 2025-10-05 10:39:25 +02:00
Make jpeg quality configurable.
This commit is contained in:
parent
c35246eb5c
commit
3d74cb48ab
4 changed files with 20 additions and 2 deletions
|
@ -228,7 +228,11 @@ module.exports = syrup.serial()
|
|||
|
||||
FrameProducer.prototype._startService = function() {
|
||||
log.info('Launching screen service')
|
||||
return minicap.run(util.format('-S -P %s', this.frameConfig.toString()))
|
||||
return minicap.run(util.format(
|
||||
'-S -Q %d -P %s'
|
||||
, options.screenJpegQuality
|
||||
, this.frameConfig.toString()
|
||||
))
|
||||
.timeout(10000)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue