mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
vl: Check mo_type not mb_type when setting motion vectors.
This commit is contained in:
parent
ea3a01ae4d
commit
156fbb9fc5
1 changed files with 1 additions and 1 deletions
|
|
@ -886,7 +886,7 @@ gen_macroblock_verts(struct vl_mpeg12_mc_renderer *r,
|
|||
}
|
||||
}
|
||||
|
||||
if (mb->mb_type == PIPE_MPEG12_MOTION_TYPE_FRAME) {
|
||||
if (mb->mo_type == PIPE_MPEG12_MOTION_TYPE_FRAME) {
|
||||
for (i = 0; i < 24 * 2; i += 2) {
|
||||
vb[i].x = mo_vec[0].x;
|
||||
vb[i].y = mo_vec[0].y;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue