Commit 661d373
committed
lavc/qsvdec: provide crop_w/h for mfx frame_info
some decoding cases failed with garbage due to without setting cropW/H
It can be reproduced when decoding some mpeg2 videos in system memory.
see ./ffmpeg -c:v mpeg2_qsv -i kitchen_720x480_2.mpg -pix_fmt nv12
-pix_fmt yuv420p test_720x480.yuv
Signed-off-by: Zhong Li <zhong.li@intel.com>1 parent eb8f298 commit 661d373
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | 106 | | |
109 | 107 | | |
110 | 108 | | |
| |||
160 | 158 | | |
161 | 159 | | |
162 | 160 | | |
163 | | - | |
164 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| |||
0 commit comments