File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
crates/enc-ffmpeg/src/video Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ jobs:
234
234
env :
235
235
SENTRY_AUTH_TOKEN : ${{ secrets.SENTRY_AUTH_TOKEN }}
236
236
run : |
237
- curl -sL https:// sentry.io/get -cli/ | bash
237
+ scoop install sentry-cli
238
238
sentry-cli debug-files upload -o ${{ env.SENTRY_ORG }} -p ${{ env.SENTRY_PROJECT }} target/${{ matrix.settings.target }}/release/cap_desktop.pdb
239
239
240
240
done :
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ impl H264EncoderBuilder {
123
123
124
124
let mut output_stream = output. add_stream ( codec) ?;
125
125
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 ) ) ;
127
127
output_stream. set_rate ( input_config. frame_rate ) ;
128
128
output_stream. set_parameters ( & video_encoder) ;
129
129
@@ -149,7 +149,7 @@ pub struct H264Encoder {
149
149
}
150
150
151
151
impl H264Encoder {
152
- const TIME_BASE : i32 = 15000 ;
152
+ const TIME_BASE : i32 = 90000 ;
153
153
154
154
pub fn builder ( name : & ' static str , input_config : VideoInfo ) -> H264EncoderBuilder {
155
155
H264EncoderBuilder :: new ( name, input_config)
You can’t perform that action at this time.
0 commit comments