summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossymiles@gmail.com>2016-08-17 21:10:39 +1000
committerJames Ross-Gowan <rossymiles@gmail.com>2016-08-17 21:42:40 +1000
commit0cfb5ea45df16999ae8a94e61d9fcb860f18713e (patch)
tree098811ac60bd519e5c6cff7e6785724e257551cc
parentce0491a176bcc29b8655a832061708dde7a38b64 (diff)
downloadmpv-examples-0cfb5ea45df16999ae8a94e61d9fcb860f18713e.tar.bz2
mpv-examples-0cfb5ea45df16999ae8a94e61d9fcb860f18713e.tar.xz
csharp: don't force the direct3d VO
The direct3d VO is not recommended over opengl, even on Windows. It only exists for compatibility with ancient hardware and it doesn't support several features, such as the video equalizer (see mpv-player/mpv#3414.) In general, the examples shouldn't override mpv defaults without good reason.
-rw-r--r--libmpv/csharp/Form1.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/libmpv/csharp/Form1.cs b/libmpv/csharp/Form1.cs
index 186ddf4..aa5558a 100644
--- a/libmpv/csharp/Form1.cs
+++ b/libmpv/csharp/Form1.cs
@@ -166,7 +166,6 @@ namespace mpv
return;
_mpvInitialize.Invoke(_mpvHandle);
- _mpvSetOptionString(_mpvHandle, GetUtf8Bytes("vo"), GetUtf8Bytes("direct3d"));
_mpvSetOptionString(_mpvHandle, GetUtf8Bytes("keep-open"), GetUtf8Bytes("always"));
int mpvFormatInt64 = 4;
var windowId = pictureBox1.Handle.ToInt64();