summaryrefslogtreecommitdiff
path: root/vp8/common/debugmodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'vp8/common/debugmodes.c')
-rw-r--r--vp8/common/debugmodes.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/vp8/common/debugmodes.c b/vp8/common/debugmodes.c
index 46064e61d..6d306578b 100644
--- a/vp8/common/debugmodes.c
+++ b/vp8/common/debugmodes.c
@@ -97,7 +97,12 @@ void vp8_print_modes_and_motion_vectors(MODE_INFO *mi, int rows, int cols, int f
bindex = (b_row & 3) * 4 + (b_col & 3);
if (mi[mb_index].mbmi.mode == B_PRED)
- fprintf(mvs, "%2d ", mi[mb_index].bmi[bindex].as_mode);
+ {
+ fprintf(mvs, "%2d ", mi[mb_index].bmi[bindex].as_mode.first);
+#if CONFIG_COMP_INTRA_PRED
+ fprintf(mvs, "%2d ", mi[mb_index].bmi[bindex].as_mode.second);
+#endif
+ }
else
fprintf(mvs, "xx ");