Mercurial > mplayer.hg
comparison vidix/drivers/nvidia_vid.c @ 16953:2363eb5b90e2
it looks like width needs to be a multiple of 64 for newer cards
author | faust3 |
---|---|
date | Wed, 09 Nov 2005 16:10:45 +0000 |
parents | 42ad241f6e8c |
children | 2275417ad349 |
comparison
equal
deleted
inserted
replaced
16952:22c12d70906d | 16953:2363eb5b90e2 |
---|---|
837 switch (vinfo->fourcc) | 837 switch (vinfo->fourcc) |
838 { | 838 { |
839 case IMGFMT_YUY2: | 839 case IMGFMT_YUY2: |
840 case IMGFMT_UYVY: | 840 case IMGFMT_UYVY: |
841 | 841 |
842 vinfo->dest.pitch.y = 16; | 842 vinfo->dest.pitch.y = 64; |
843 vinfo->dest.pitch.u = 0; | 843 vinfo->dest.pitch.u = 0; |
844 vinfo->dest.pitch.v = 0; | 844 vinfo->dest.pitch.v = 0; |
845 | 845 |
846 vinfo->offset.y = 0; | 846 vinfo->offset.y = 0; |
847 vinfo->offset.v = 0; | 847 vinfo->offset.v = 0; |