Mercurial > mplayer.hg
changeset 12572:7d681d8ebab8
display height may be a lot smaller or larger than picture height, sample provided by winnicki
author | iive |
---|---|
date | Sat, 12 Jun 2004 16:35:52 +0000 |
parents | eba4d274e0a0 |
children | e14b7c6e9d54 |
files | libmpcodecs/vd_libmpeg2.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_libmpeg2.c Fri Jun 11 20:57:03 2004 +0000 +++ b/libmpcodecs/vd_libmpeg2.c Sat Jun 12 16:35:52 2004 +0000 @@ -84,9 +84,9 @@ stride[1]=stride[2]=mpeg2dec->decoder.uv_stride; mpcodecs_draw_slice(sh, (uint8_t **)src, - stride, info->sequence->display_width, - (y+16<=info->sequence->display_height) ? 16 : - info->sequence->display_height-y, + stride, info->sequence->picture_width, + (y+16<=info->sequence->picture_height) ? 16 : + info->sequence->picture_height-y, 0, y); }