]> git.sesse.net Git - vlc/commit
* the calculation for the initial video window dimensions is now done in
authorGildas Bazin <gbazin@videolan.org>
Thu, 21 Mar 2002 22:10:33 +0000 (22:10 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 21 Mar 2002 22:10:33 +0000 (22:10 +0000)
commitc6f900e1a3320acde048bf5a24ae0f17097679b0
tree40f4dfe2612d8d5dc4c86697faf1b497cbcc4a95
parentfb3f8ba53df70b5d68107c520519e46f2ac52cc4
* the calculation for the initial video window dimensions is now done in
    video_output.c and made available into p_vout->i_window_height/width.
    This allows to get rid of duplicated code and unify the behaviour of
    the video output plugins. (not all the plugins have been modified
    because I didn't want to break anything).

    As a side effect, the --width and --height options are now working, you
    can even use only --width or only --height the other dimension will adapt
    automatically to the video characteristics.
    Note that you need to remove the width/height options from the config file
    or set them to -1 if you want to use the actual video size.
include/video_output.h
plugins/directx/vout_directx.c
plugins/mga/xmga.c
plugins/qnx/vout_qnx.c
plugins/sdl/vout_sdl.c
plugins/x11/xcommon.c
src/interface/main.c
src/video_output/video_output.c