resindvd: Fix the argument order in a debug statement

Make the debug statement correctly show the 'old' and 'new' button
coordinates, instead of the wrong way around.
This commit is contained in:
Jan Schmidt 2009-05-14 10:34:08 +01:00
parent 13694cd654
commit e62b64f1d3

View file

@ -2065,10 +2065,12 @@ rsn_dvdsrc_update_highlight (resinDvdSrc * src)
btni_t *btn_info = pci->hli.btnit + button - 1;
guint32 btn_mask;
GST_DEBUG_OBJECT (src, "Setting highlight. Button %d @ %d,%d "
"active %d palette 0x%x (from button %d @ %d,%d palette 0x%x)",
button, src->area.sx, src->area.sy, mode, src->area.palette,
src->active_button, area.sx, area.sy, area.palette);
GST_DEBUG_OBJECT (src, "Setting highlight. Button %d @ %d,%d,%d,%d "
"active %d palette 0x%x (from button %d @ %d,%d,%d,%d palette 0x%x)",
button, area.sx, area.sy, area.ex, area.ey,
mode, area.palette,
src->active_button, src->area.sx, src->area.sy, src->area.ex,
src->area.ey, src->area.palette);
memcpy (&(src->area), &area, sizeof (dvdnav_highlight_area_t));