File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ impl VideoEncoder {
188188 // Create x264 encoder with optimized settings for screen recording
189189 let encoder = Encoder :: builder ( )
190190 . fps ( fps. to_u32 ( ) , 1 )
191- . build ( Colorspace :: RGB , width as i32 , height as i32 ) // TODO: Colorspace::RGBA
191+ . build ( Colorspace :: RGB , width as i32 , height as i32 )
192192 . map_err ( |e| {
193193 RecorderError :: VideoEncodingFailed ( format ! (
194194 "Failed to create x264 encoder: {:?}" ,
@@ -247,7 +247,7 @@ impl VideoEncoder {
247247 }
248248
249249 // Create x264 image from RGB buffer
250- let image = Image :: rgb ( self . width as i32 , self . height as i32 , img. as_raw ( ) ) ; // TODO: rgba
250+ let image = Image :: rgb ( self . width as i32 , self . height as i32 , img. as_raw ( ) ) ;
251251
252252 // Calculate timestamp in milliseconds (frame_index * 1000 / fps)
253253 let timestamp_ms = ( self . frame_index * 1000 ) / self . fps . to_u32 ( ) as u64 ;
Original file line number Diff line number Diff line change @@ -235,6 +235,7 @@ component ControlPanel inherits HorizontalLayout {
235235
236236 Label {
237237 text : input-audio-slider.value.to-fixed(0 ) + "%" ;
238+ color : input-audio-slider.enabled ? Theme.primary-text-color : Theme.disabled-color;
238239 }
239240 }
240241 }
@@ -306,6 +307,7 @@ component ControlPanel inherits HorizontalLayout {
306307
307308 Label {
308309 text : desktop-speaker-slider.value.to-fixed(0 ) + "%" ;
310+ color : desktop-speaker-slider.enabled ? Theme.primary-text-color : Theme.disabled-color;
309311 }
310312 }
311313 }
You can’t perform that action at this time.
0 commit comments