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

陆然 hephooey at gmail.com
Sat Sep 2 17:27:19 CEST 2006


Hi,

On Saturday 02 September 2006 22:50, Roberto Togni wrote:

> 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

I've made some improvement about the real part, the original patch only works 
when changing from a large resolution to a small one, otherwise it will 
crash. Now I allocate a static buffer using the w & h provide by the header. 
and there are sometimes the decoder returns a new resolution while the data 
is still the old one, transform_out[0] seems always to be 0 when this 
happens, so I add a check before reinit the vo.

-- 
Best Regards,
LR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rmvb_changing_resolution.patch
Type: text/x-diff
Size: 2737 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060902/1f644808/attachment.patch>


More information about the MPlayer-dev-eng mailing list