[vlc-devel] [PATCH 12/23] Maemo: ignore I420 and YV12 image formats
Rémi Denis-Courmont
remi at remlab.net
Sat Oct 3 19:52:19 CEST 2009
---
modules/video_output/xcb/xvideo.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/modules/video_output/xcb/xvideo.c b/modules/video_output/xcb/xvideo.c
index 50f4157..0d3aa81 100644
--- a/modules/video_output/xcb/xvideo.c
+++ b/modules/video_output/xcb/xvideo.c
@@ -207,10 +207,15 @@ static vlc_fourcc_t ParseFormat (vout_display_t *vd,
case 12:
if (f->vhorz_u_period == 2 && f->vvert_u_period == 2)
{
+#if 0
if (!strcmp ((const char *)f->vcomp_order, "YVU"))
return VLC_CODEC_YV12;
if (!strcmp ((const char *)f->vcomp_order, "YUV"))
return VLC_CODEC_I420;
+#else
+ msg_Dbg (vd, "skipping slow I420 format");
+ return 0;
+#endif
}
}
break;
--
1.6.4.3
More information about the vlc-devel
mailing list