MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / SetEncoderFormat

Method SetEncoderFormat

src/render_panel/gr_settings.cpp:164–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162 }
163
164 void GrSettings::SetEncoderFormat(int idx) {
165 // h264
166 if (idx == 0) {
167 sp_->Put(kStEncoderFormat, "h264");
168 } else if (idx == 1) {
169 sp_->Put(kStEncoderFormat, "h265");
170 }
171 }
172
173 std::string GrSettings::GetEncoderFormat() {
174 auto value = sp_->Get(kStEncoderFormat);

Callers 1

StGeneralMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected