[MPlayer-dev-eng] [PATCH] raw output bugfix

Roine Gustafsson roine at users.sourceforge.net
Mon Jan 3 00:49:30 CET 2005


On Sunday, Jan 2, 2005, at 20:35 Europe/Stockholm^H^H^H^H^H^H^H +0100, 
Roine Gustafsson wrote:
> On Sunday, Jan 2, 2005, at 18:05 Europe/Stockholm, Reimar Döffinger 
> wrote:
>> Hi,
>>>> Patch fixes raw output for mencoder (-ovc raw).
>>>> Currently if the internal bitmap was extended by the codec (say, to
>>>> even 16 boundary), raw output is misaligned as it writes the padding
>>>> too.
>>>
>>> Found a missing malloc. Updated patch below.
>>
>> This certainly is not acceptable (too slow and too much code). Try if 
>> the attached patch works.
>
> Yep, it works, for all colorspaces I care about. Nice flag option :)
> I still think it's outputting the wrong size for IF09; it should be a 
> "9.5" bit colorspace.

OK, I spoke too soon; when I test now it's still broken. If the input 
is a MPEG4 based codec and the boundaries aren't 16-aligned, the output 
is wrong.

FWIW, my patch still works fine.

   /Roine




More information about the MPlayer-dev-eng mailing list