case VLC_CODEC_YVYU:
p_vout->output.i_chroma = VLC_CODEC_YVYU;
break;
+ case VLC_CODEC_I420:
+ p_vout->output.i_chroma = VLC_CODEC_I420;
+ break;
default:
+ msg_Dbg( p_vout, "use default chroma YV12 for render " \
+ "chroma (%4.4s)",
+ (char *)&p_vout->render.i_chroma);
p_vout->output.i_chroma = VLC_CODEC_YV12;
break;
}
/* U and V inverted compared to I420
* Fixme: this should be handled by the vout core */
+ /* could this be right? */
p_vout->output.i_chroma = VLC_CODEC_I420;
p_pic->Y_PIXELS = p_pic->p_sys->ddsd.lpSurface;