Skip to content

Commit

Permalink
fix duplicated "bframes" for intel quicksync encoder
Browse files Browse the repository at this point in the history
  • Loading branch information
sorayuki committed Sep 3, 2023
1 parent f7838bc commit b4a004d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/edit-widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ static OBSData from_json(nlohmann::json j) {
static obs_properties* AddBF(obs_properties* p) {
auto bfp = obs_properties_get(p, "bf");
if (!bfp) {
obs_properties_add_int(p, "bf", obs_module_text("BFrames"), 0, 16, 1);
bfp = obs_properties_get(p, "bframes");
if (!bfp)
obs_properties_add_int(p, "bf", obs_module_text("BFrames"), 0, 16, 1);
}
return p;
}
Expand Down

0 comments on commit b4a004d

Please sign in to comment.