Mercurial > mplayer.hg
comparison libmpcodecs/vd_libmpeg2.c @ 25962:afa125da85cf
typo fix: inited --> initialized
author | diego |
---|---|
date | Thu, 14 Feb 2008 14:23:55 +0000 |
parents | b3726f27695f |
children | e3be2de66969 |
comparison
equal
deleted
inserted
replaced
25961:354ad909efcf | 25962:afa125da85cf |
---|---|
171 break; | 171 break; |
172 case STATE_SEQUENCE: | 172 case STATE_SEQUENCE: |
173 pw = info->sequence->display_width * info->sequence->pixel_width; | 173 pw = info->sequence->display_width * info->sequence->pixel_width; |
174 ph = info->sequence->display_height * info->sequence->pixel_height; | 174 ph = info->sequence->display_height * info->sequence->pixel_height; |
175 if(ph) sh->aspect = (float) pw / (float) ph; | 175 if(ph) sh->aspect = (float) pw / (float) ph; |
176 // video parameters inited/changed, (re)init libvo: | 176 // video parameters initialized/changed, (re)init libvo: |
177 if (info->sequence->width >> 1 == info->sequence->chroma_width && | 177 if (info->sequence->width >> 1 == info->sequence->chroma_width && |
178 info->sequence->height >> 1 == info->sequence->chroma_height) { | 178 info->sequence->height >> 1 == info->sequence->chroma_height) { |
179 if(!mpcodecs_config_vo(sh, | 179 if(!mpcodecs_config_vo(sh, |
180 info->sequence->picture_width, | 180 info->sequence->picture_width, |
181 info->sequence->picture_height, IMGFMT_YV12)) return 0; | 181 info->sequence->picture_height, IMGFMT_YV12)) return 0; |