Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

install sentry cli with scoop

Brendan Allan2215136adeb9
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 89e694dda..1adb2aa89 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -234,7 +234,7 @@ jobs:
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
run: |
- curl -sL https://sentry.io/get-cli/ | bash
+ scoop install sentry-cli
sentry-cli debug-files upload -o ${{ env.SENTRY_ORG }} -p ${{ env.SENTRY_PROJECT }} target/${{ matrix.settings.target }}/release/cap_desktop.pdb
done:
diff --git a/crates/enc-ffmpeg/src/video/h264.rs b/crates/enc-ffmpeg/src/video/h264.rs
index 998a1423b..7e2f8ad8b 100644
--- a/crates/enc-ffmpeg/src/video/h264.rs
+++ b/crates/enc-ffmpeg/src/video/h264.rs
@@ -123,7 +123,7 @@ impl H264EncoderBuilder {
let mut output_stream = output.add_stream(codec)?;
let stream_index = output_stream.index();
- // output_stream.set_time_base((1, H264Encoder::TIME_BASE));
+ output_stream.set_time_base((1, H264Encoder::TIME_BASE));
output_stream.set_rate(input_config.frame_rate);
output_stream.set_parameters(&video_encoder);
@@ -149,7 +149,7 @@ pub struct H264Encoder {
}
impl H264Encoder {
- const TIME_BASE: i32 = 15000;
+ const TIME_BASE: i32 = 90000;
pub fn builder(name: &'static str, input_config: VideoInfo) -> H264EncoderBuilder {
H264EncoderBuilder::new(name, input_config)