]> git.sesse.net Git - vlc/commitdiff
* modules/video_output/directx/directx.c: apply --video-on-top on start.
authorGildas Bazin <gbazin@videolan.org>
Thu, 8 Apr 2004 15:50:29 +0000 (15:50 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 8 Apr 2004 15:50:29 +0000 (15:50 +0000)
modules/video_output/directx/directx.c

index 1cc32c4210decc316ec45552f8de57fc4c5dc22a..6a55f95c299f75a163d08b6f8f0961313a4af6dd 100644 (file)
@@ -259,9 +259,10 @@ static int OpenVideo( vlc_object_t *p_this )
         goto error;
     }
 
-    /* Add a variable to indicate if the window should be on top of others */
+    /* Variable to indicate if the window should be on top of others */
+    /* Trigger a callback right now */
     var_Get( p_vout, "video-on-top", &val );
-    p_vout->p_sys->b_on_top_change = val.b_bool;
+    var_Set( p_vout, "video-on-top", val );
 
     return VLC_SUCCESS;