Commit 46d8d47a authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* I think this should fix the width & height params of vout. If anyone sees...

* I think this should fix the width & height params of vout. If anyone sees anything wrong with it, please say so. Report thx to Greg Farell. fixes #399
parent 9e2ad075
...@@ -298,6 +298,9 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt ) ...@@ -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-moved", VLC_VAR_BOOL );
var_Create( p_vout, "mouse-clicked", VLC_VAR_INTEGER ); 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 */ /* Initialize subpicture unit */
p_vout->p_spu = spu_Create( p_vout ); p_vout->p_spu = spu_Create( p_vout );
spu_Attach( p_vout->p_spu, p_parent, VLC_TRUE ); spu_Attach( p_vout->p_spu, p_parent, VLC_TRUE );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment