Mercurial > mplayer.hg
comparison libmpcodecs/img_format.c @ 36635:0b6385acafcc
img_format: document why mp_get_chroma_shift does not work for NV12/NV21
author | reimar |
---|---|
date | Sat, 25 Jan 2014 16:55:03 +0000 |
parents | 4fc911fa5366 |
children | 05f12b83c094 |
comparison
equal
deleted
inserted
replaced
36634:945eab072c9d | 36635:0b6385acafcc |
---|---|
222 break; | 222 break; |
223 case IMGFMT_NV12: | 223 case IMGFMT_NV12: |
224 case IMGFMT_NV21: | 224 case IMGFMT_NV21: |
225 xs = 1; | 225 xs = 1; |
226 ys = 1; | 226 ys = 1; |
227 // TODO: allowing this though currently breaks | |
228 // things all over the place. | |
227 err = 1; | 229 err = 1; |
230 break; | |
228 default: | 231 default: |
229 err = 1; | 232 err = 1; |
230 break; | 233 break; |
231 } | 234 } |
232 if (x_shift) *x_shift = xs; | 235 if (x_shift) *x_shift = xs; |