• gbazin's avatar
    · c6f900e1
    gbazin authored
    * 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.
    c6f900e1
video_output.h 11.7 KB