]> git.sesse.net Git - vlc/commitdiff
DirectDraw: declaration cosmetics
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 1 Sep 2009 09:41:20 +0000 (11:41 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 1 Sep 2009 12:05:52 +0000 (14:05 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/video_output/msw/directx.c

index 010c1e0c3fb63b3f8d41b8f20ab905ff948bf922..57330452dbdd4e87bcf770f3262364c27e6a1759 100644 (file)
@@ -171,11 +171,11 @@ vlc_module_begin ()
     set_shortname( "DirectX" )
     set_category( CAT_VIDEO )
     set_subcategory( SUBCAT_VIDEO_VOUT )
-    add_bool( "directx-hw-yuv", 1, NULL, HW_YUV_TEXT, HW_YUV_LONGTEXT,
+    add_bool( "directx-hw-yuv", true, NULL, HW_YUV_TEXT, HW_YUV_LONGTEXT,
               true )
-    add_bool( "directx-use-sysmem", 0, NULL, SYSMEM_TEXT, SYSMEM_LONGTEXT,
+    add_bool( "directx-use-sysmem", false, NULL, SYSMEM_TEXT, SYSMEM_LONGTEXT,
               true )
-    add_bool( "directx-3buffering", 1, NULL, TRIPLEBUF_TEXT,
+    add_bool( "directx-3buffering", true, NULL, TRIPLEBUF_TEXT,
               TRIPLEBUF_LONGTEXT, true )
 
     add_string( "directx-device", "", NULL, DEVICE_TEXT, DEVICE_LONGTEXT,
@@ -183,10 +183,10 @@ vlc_module_begin ()
         change_string_list( ppsz_dev, ppsz_dev_text, FindDevicesCallback )
         change_action_add( FindDevicesCallback, N_("Refresh list") )
 
-    add_bool( "directx-wallpaper", 0, NULL, WALLPAPER_TEXT, WALLPAPER_LONGTEXT,
+    add_bool( "directx-wallpaper", false, NULL, WALLPAPER_TEXT, WALLPAPER_LONGTEXT,
               true )
 
-    set_description( N_("DirectX video output") )
+    set_description( N_("DirectX (DirectDraw) video output") )
     set_capability( "video output", 100 )
     add_shortcut( "directx" )
     set_callbacks( OpenVideo, CloseVideo )