mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-05 00:36:14 +00:00
fix default video save directory
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
1 parent
e94c3467eb
commit
150057f92d
9 files changed
+87
-32
No files matched your search
+2
-1
@@ -860,10 +860,11 @@ impl VideoHandler {
|
||||
if start {
|
||||
self.recorder = Recorder::new(RecorderContext {
|
||||
id,
|
||||
default_dir: crate::ui_interface::default_video_save_directory(),
|
||||
filename: "".to_owned(),
|
||||
width: w as _,
|
||||
height: h as _,
|
||||
codec_id: scrap::record::RecodeCodecID::VP9,
|
||||
codec_id: scrap::record::RecordCodecID::VP9,
|
||||
})
|
||||
.map_or(Default::default(), |r| Arc::new(Mutex::new(Some(r))));
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user