[MPlayer-cvslog] r18815 - in trunk: help/help_mp-en.h libvo/mga_common.c
Roberto Togni
r_togni at tiscali.it
Sun Jun 25 18:04:59 CEST 2006
On Sun, 25 Jun 2006 17:50:19 +0200 (CEST)
attila <subversion at mplayerhq.hu> wrote:
> Author: attila
> Date: Sun Jun 25 17:50:19 2006
> New Revision: 18815
>
> Modified:
> trunk/help/help_mp-en.h
> trunk/libvo/mga_common.c
>
> Log:
> fail with an error if the source resolution is larger than 1023x1023
> when using -vo (x)mga
[...]
> ==============================================================================
> --- trunk/libvo/mga_common.c (original)
> +++ trunk/libvo/mga_common.c Sun Jun 25 17:50:19 2006
> @@ -371,6 +371,12 @@
> return (-1);
> }
>
> + if(width>1023 || height >1024)
Shouldn't those be both 1024 ?
> + {
> + mp_msg(MSGT_VO,MSGL_ERR, MGSTR_LIBVO_MGA_ResolutionTooHigh);
> + return (-1);
> + }
> +
> mga_vid_config.src_width = width;
> mga_vid_config.src_height= height;
> if(!mga_vid_config.dest_width)
Ciao,
Roberto
More information about the MPlayer-cvslog
mailing list