minor refactoring
This commit is contained in:
parent
78244a48d2
commit
8f2e00f31b
3 changed files with 13 additions and 3 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue