Skip to content

Commit 2215136

Browse files
committed
install sentry cli with scoop
1 parent 4bda2ca commit 2215136

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ jobs:
234234
env:
235235
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
236236
run: |
237-
curl -sL https://sentry.io/get-cli/ | bash
237+
scoop install sentry-cli
238238
sentry-cli debug-files upload -o ${{ env.SENTRY_ORG }} -p ${{ env.SENTRY_PROJECT }} target/${{ matrix.settings.target }}/release/cap_desktop.pdb
239239
240240
done:

crates/enc-ffmpeg/src/video/h264.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ impl H264EncoderBuilder {
123123

124124
let mut output_stream = output.add_stream(codec)?;
125125
let stream_index = output_stream.index();
126-
// output_stream.set_time_base((1, H264Encoder::TIME_BASE));
126+
output_stream.set_time_base((1, H264Encoder::TIME_BASE));
127127
output_stream.set_rate(input_config.frame_rate);
128128
output_stream.set_parameters(&video_encoder);
129129

@@ -149,7 +149,7 @@ pub struct H264Encoder {
149149
}
150150

151151
impl H264Encoder {
152-
const TIME_BASE: i32 = 15000;
152+
const TIME_BASE: i32 = 90000;
153153

154154
pub fn builder(name: &'static str, input_config: VideoInfo) -> H264EncoderBuilder {
155155
H264EncoderBuilder::new(name, input_config)

0 commit comments

Comments
 (0)