Skip to content

Commit da203bf

Browse files
authored
Fix framerate param for pipewire capturer
1 parent 92cabc5 commit da203bf

File tree

1 file changed

+2
-2
lines changed
  • src/capturer/engine/linux

1 file changed

+2
-2
lines changed

src/capturer/engine/linux/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ fn pipewire_capturer(
242242
}
243243
),
244244
pw::spa::pod::property!(
245-
FormatProperties::VideoFramerate,
245+
FormatProperties::VideoMaxFramerate,
246246
Choice,
247247
Range,
248248
Fraction,
@@ -252,7 +252,7 @@ fn pipewire_capturer(
252252
},
253253
pw::spa::utils::Fraction { num: 0, denom: 1 },
254254
pw::spa::utils::Fraction {
255-
num: 1000,
255+
num: options.fps,
256256
denom: 1
257257
}
258258
),

0 commit comments

Comments
 (0)