summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/r600_textured_videofuncs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/r600_textured_videofuncs.c b/src/r600_textured_videofuncs.c
index 42a5d68d..24bba07d 100644
--- a/src/r600_textured_videofuncs.c
+++ b/src/r600_textured_videofuncs.c
@@ -205,7 +205,7 @@ R600DisplayTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv)
uv_offset = (uv_offset + 255) & ~255;
cp_set_surface_sync(pScrn, accel_state->ib, TC_ACTION_ENA_bit,
- accel_state->src_size[0] / 2,
+ accel_state->src_size[0] / 4,
accel_state->src_mc_addr[0] + uv_offset);
tex_res.id = 1;
@@ -232,7 +232,7 @@ R600DisplayTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv)
uv_offset = (uv_offset + 255) & ~255;
cp_set_surface_sync(pScrn, accel_state->ib, TC_ACTION_ENA_bit,
- accel_state->src_size[0] / 2,
+ accel_state->src_size[0] / 4,
accel_state->src_mc_addr[0] + uv_offset);
tex_res.id = 2;