[vlc-devel] [PATCH 09/21] Do manual copying of semiplanar->planar

Martin Storsjö martin at martin.st
Mon Sep 5 11:15:25 CEST 2011

On Sun, 4 Sep 2011, Rémi Denis-Courmont wrote:

> On Sunday 04 September 2011, Martin Storsjo wrote:
> > From: Martin Storsjö <martin at martin.st>
> > 
> > Since NV12/NV21 isn't handled in the output, covert here
> > (for simplicity) for now.
> > 
> > This is only a hack for the problems with NV12/21 in vlc-android.
> Please not that way. Use a video chroma plug-in.

Indeed, this is very ugly.

To fix this properly, change patch #7 to map to VLC_CODEC_NV12 instead, 
and try to figure out what's crashing where, and fix that. (Or make some 
other decoder output NV12 and see if you run into similar crashes in that 
setup...) Hopefully someone more familiar with vlc in general and 
vlc-android in particular can help me with that :-)

// Martin

More information about the vlc-devel mailing list