# HG changeset patch # User reimar # Date 1346707798 0 # Node ID dda2444f48256b988d8de93dc15080ddd5d1c7bb # Parent 60e92b725c3da76ee18dc57aa619b89fb0ee65ea Fix OSD position again for interleaved YUV formats. diff -r 60e92b725c3d -r dda2444f4825 libvo/video_out.h --- a/libvo/video_out.h Sun Sep 02 22:16:17 2012 +0000 +++ b/libvo/video_out.h Mon Sep 03 21:29:58 2012 +0000 @@ -284,6 +284,8 @@ return (IMGFMT_RGB_DEPTH(fmt) + 7) / 8; if (IMGFMT_IS_BGR(fmt)) return (IMGFMT_BGR_DEPTH(fmt) + 7) / 8; + if (fmt == IMGFMT_YUY2 || fmt == IMGFMT_UYVY) + return 2; return IMGFMT_IS_YUVP16(fmt) ? 2 : 1; }