]> git.sesse.net Git - vlc/commitdiff
* I think this should fix the width & height params of vout. If anyone sees anything...
authorDerk-Jan Hartman <hartman@videolan.org>
Thu, 20 Oct 2005 22:21:20 +0000 (22:21 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Thu, 20 Oct 2005 22:21:20 +0000 (22:21 +0000)
src/video_output/video_output.c

index ff7e5b974d10b03ad4a4dce979e605a16616808c..a993fa14036439c6f105adc048070300fbe68141 100644 (file)
@@ -298,6 +298,9 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
     var_Create( p_vout, "mouse-moved", VLC_VAR_BOOL );
     var_Create( p_vout, "mouse-clicked", VLC_VAR_INTEGER );
 
+    var_Create( p_vout, "height", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT );
+    var_Create( p_vout, "width", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT );
+
     /* Initialize subpicture unit */
     p_vout->p_spu = spu_Create( p_vout );
     spu_Attach( p_vout->p_spu, p_parent, VLC_TRUE );