summaryrefslogtreecommitdiffstats
path: root/defaultopts.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-11-03 15:57:40 +0100
committerwm4 <wm4@nowhere>2012-11-07 23:29:55 +0100
commit58f821e096392e27994102f6de6f8f76c63e38e1 (patch)
tree3afdabf9addc8ba44923cca4a1f4d96413c61886 /defaultopts.c
parenta20c9576be916f8e0bad66bd474c5241d05852e4 (diff)
downloadmpv-58f821e096392e27994102f6de6f8f76c63e38e1.tar.bz2
mpv-58f821e096392e27994102f6de6f8f76c63e38e1.tar.xz
vd_ffmpeg: disable codec direct rendering and slices by default
This caused failures when doing single threaded decoding in some cases. It's unknown what exactly the reasons are for these failures, but direct rendering is probably worthless anyway. Disable slices by default as well, just to be sure not to invoke broken code paths. Multithreading disables these too. The old behavior can be restored by passing the -dr1 -slices command line options. (-dr1 is left undocumented intentionally.) Multithreaded decoding worked fine, because vd_ffmpeg.c automatically disables direct rendering in this case.
Diffstat (limited to 'defaultopts.c')
-rw-r--r--defaultopts.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/defaultopts.c b/defaultopts.c
index 072bf606d1..1d3abf932c 100644
--- a/defaultopts.c
+++ b/defaultopts.c
@@ -48,7 +48,6 @@ void set_default_mplayer_options(struct MPOpts *opts)
.drc_level = 1.,
.movie_aspect = -1.,
.flip = -1,
- .vd_use_slices = 1,
.sub_auto = 1,
#ifdef CONFIG_ASS
.ass_enabled = 1,