[MPlayer-dev-eng] [PATCH]play rmvb file with changing resolution

Roberto Togni r_togni at tiscali.it
Sat Sep 2 16:50:19 CEST 2006


On Fri, 23 Sep 2005 21:51:22 +0800
陆然 <hephooey at fastmail.fm> wrote:

> Hi,
> 
> This patch is for some rmvb file that change the resolution during the 
> playing, these video usually made by join two rmvb file together, I've 
> reported the bug to the mplayer-users list and uploaded some sample file to 
> mplayer's ftp. 
> 
> Basicly, I add some code to detect the resolution change from the output of 
> the rmvb codec, if either the width or the height of the movie is changed, 
> just reconfig the vo. 
> 
> I modified the vf.c to realloc a mp_image if the height or the width is 
> changed, I did this only to the TEMP type, I don't know the other types 
> should be changed too, since I don't know how to test if there is any 
> regressions.

The real part looks ok, even if i have to doublecheck the change in the
aspect computation on the !inited part.

Can somebody comment on the mpi changes? I have no clue on that code

Ciao,
 Roberto



More information about the MPlayer-dev-eng mailing list