From 694c067e19dcbabe8f6121923fe628b9bfa6ac32 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Mon, 30 Mar 2009 02:06:58 +0300 Subject: options: Move osd_level and osd_duration to options struct --- defaultopts.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'defaultopts.c') diff --git a/defaultopts.c b/defaultopts.c index 2f77b16fcd..fb841e64a1 100644 --- a/defaultopts.c +++ b/defaultopts.c @@ -17,6 +17,8 @@ void set_default_mplayer_options(struct MPOpts *opts) .vo_gamma_contrast = 1000, .vo_gamma_saturation = 1000, .vo_gamma_hue = 1000, + .osd_level = 1, + .osd_duration = 1000, .loop_times = -1, .user_correct_pts = -1, .key_fifo_size = 7, -- cgit v1.2.3 From 861d6d2bd9b46c8644b7d8683d101157cd459927 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Mon, 30 Mar 2009 05:06:17 +0300 Subject: Make -fixed-vo the default Lack of -fixed-vo causes the output window to be recreated not only when changing files but also when switching the video stream, and that happens when moving from one ordered chapter source to another. Having the window disappear and reappear (likely at another location if it was ever moved) is just too annoying. --- defaultopts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'defaultopts.c') diff --git a/defaultopts.c b/defaultopts.c index fb841e64a1..b35601e917 100644 --- a/defaultopts.c +++ b/defaultopts.c @@ -9,7 +9,7 @@ void set_default_mplayer_options(struct MPOpts *opts) *opts = (const struct MPOpts){ .audio_driver_list = NULL, .video_driver_list = NULL, - .fixed_vo = 0, + .fixed_vo = 1, .monitor_pixel_aspect = 1.0, .vo_panscanrange = 1.0, .vo_gamma_gamma = 1000, -- cgit v1.2.3 From 96daf7ed5ef96b86f2539164c27155bc830aa2a6 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Wed, 8 Apr 2009 02:37:27 +0300 Subject: Add option -noordered-chapters. --- defaultopts.c | 1 + 1 file changed, 1 insertion(+) (limited to 'defaultopts.c') diff --git a/defaultopts.c b/defaultopts.c index b35601e917..dfd163e865 100644 --- a/defaultopts.c +++ b/defaultopts.c @@ -20,6 +20,7 @@ void set_default_mplayer_options(struct MPOpts *opts) .osd_level = 1, .osd_duration = 1000, .loop_times = -1, + .ordered_chapters = 1, .user_correct_pts = -1, .key_fifo_size = 7, .doubleclick_time = 300, -- cgit v1.2.3