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

陆然 hephooey at fastmail.fm
Fri Sep 23 15:51:22 CEST 2005


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.

-- 
Best Regards,
LR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rmvb_diff_resolution.diff
Type: text/x-diff
Size: 2025 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050923/45e7eda0/attachment.diff>


More information about the MPlayer-dev-eng mailing list