[MPlayer-dev-eng] [PATCH] Fix inverted colours when capturing YV12 in V4L2 mode

Jindrich Makovicka makovick at kmlinux.fjfi.cvut.cz
Fri Dec 16 22:15:30 CET 2005


Rich Felker wrote:
> On Fri, Dec 16, 2005 at 09:07:46PM +0100, Jindrich Makovicka wrote:
> 
>>Rich Felker wrote:
>>
>>>I agree. MPlayer should not contain workarounds for bugs in the (very
>>>shitty) bttv driver.
>>
>>There was no bug. The driver just didn't support YV12 colorspace so 
>>tvi_v4l1 did the conversion on the fly. But if you really insist on 
>>removing this, we can try and see who will scream :)
> 
> 
> There is no conversion; as far as mplayer is concerned, YV12 and I420
> are identical.

No, they have U&V swapped. It's the memcpy hunk that is removed in Luc's 
patch.

-- 
Jindrich Makovicka




More information about the MPlayer-dev-eng mailing list