diff options
Diffstat (limited to '')
-rw-r--r-- | src/select/cmds.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/select/cmds.rs b/src/select/cmds.rs index 85e655f..c480bd9 100644 --- a/src/select/cmds.rs +++ b/src/select/cmds.rs @@ -63,7 +63,10 @@ pub async fn handle_select_cmd( } => { let hash = shared.hash.realize(&app).await?; let video = get_video_by_hash(app, &hash).await?; - let video_options = VideoOptions::new(subtitle_langs, speed); + let video_options = VideoOptions::new( + subtitle_langs.unwrap_or(app.config.select.subtitle_langs.clone()), + speed.unwrap_or(app.config.select.playback_speed), + ); let priority = compute_priority(line_number, shared.priority); if let Some(_) = video.cache_path { |