[vlc-commits] commit: Slightly different name for Direct3D XP (fixes #3560) ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Mon Apr 26 18:46:19 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Apr 26 19:45:36 2010 +0300| [bfbbfdf0505fe28ebad2894d2f4bfb35e69c07be] | committer: Rémi Denis-Courmont 

Slightly different name for Direct3D XP (fixes #3560)

(N.B.: Backporting this would break translations)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bfbbfdf0505fe28ebad2894d2f4bfb35e69c07be
---

 modules/video_output/msw/direct3d.c |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/modules/video_output/msw/direct3d.c b/modules/video_output/msw/direct3d.c
index d627756..e374587 100644
--- a/modules/video_output/msw/direct3d.c
+++ b/modules/video_output/msw/direct3d.c
@@ -69,17 +69,19 @@ vlc_module_begin ()
 
     add_bool("direct3d-desktop", false, NULL, DESKTOP_TEXT, DESKTOP_LONGTEXT, true)
 
-    set_capability("vout display", 70)
-    add_shortcut("direct3d_xp")
-    set_callbacks(OpenVideoXP, Close)
+    set_capability("vout display", 150)
+    add_shortcut("direct3d")
+    set_callbacks(OpenVideoVista, Close)
 
     /* FIXME: Hack to avoid unregistering our window class */
     cannot_unload_broken_library()
 
     add_submodule()
-        set_capability("vout display", 150)
-        add_shortcut("direct3d_vista")
-        set_callbacks(OpenVideoVista, Close)
+        set_description(N_("Direct3D video output (XP)"))
+        set_capability("vout display", 70)
+        add_shortcut("direct3d_xp")
+        set_callbacks(OpenVideoXP, Close)
+
 vlc_module_end ()
 
 #if 0 /* FIXME */



More information about the vlc-commits mailing list