minor refactoring

This commit is contained in:
Loki
2021-06-14 14:54:09 +02:00
parent 78244a48d2
commit 8f2e00f31b
3 changed files with 13 additions and 3 deletions

View File

@@ -937,7 +937,7 @@ std::optional<session_t> make_session(const encoder_t &encoder, const config_t &
return std::make_optional<session_t>(
std::move(ctx),
std::move(device),
cbs::make_sps_h264(ctx.get()));
cbs::make_sps(ctx.get(), config.videoFormat));
}
void encode_run(