equal
deleted
inserted
replaced
138 arguments << config->AVFormat(); |
138 arguments << config->AVFormat(); |
139 arguments << config->videoCodec(); |
139 arguments << config->videoCodec(); |
140 // Could use a field to use quality instead. maybe quality could override bitrate - or just pass (and set) both. |
140 // Could use a field to use quality instead. maybe quality could override bitrate - or just pass (and set) both. |
141 // The library does support using both at once after all. |
141 // The library does support using both at once after all. |
142 arguments << QString::number(config->rec_Bitrate()*1024); |
142 arguments << QString::number(config->rec_Bitrate()*1024); |
143 arguments << (config->recordAudio() ? config->audioCodec() : "no"); |
143 if (config->recordAudio() && (config->isSoundEnabled() || config->isMusicEnabled())) |
|
144 arguments << config->audioCodec(); |
|
145 else |
|
146 arguments << "no"; |
144 |
147 |
145 return arguments; |
148 return arguments; |
146 } |
149 } |
147 |
150 |
148 bool HWRecorder::simultaneousRun() |
151 bool HWRecorder::simultaneousRun() |