diff --git a/src/xvmc/intel_xvmc_dump.c b/src/xvmc/intel_xvmc_dump.c index 419bd0d..37b84d5 100644 --- a/src/xvmc/intel_xvmc_dump.c +++ b/src/xvmc/intel_xvmc_dump.c @@ -68,8 +68,8 @@ void intel_xvmc_dump_render(XvMCContext *context, unsigned int picture_structure return; fprintf(fp, "========== new surface rendering ==========\n"); - fprintf(fp, "Context (id:%d) (surface_type_id:%d) (width:%d) (height:%d)\n", - context->context_id, context->surface_type_id, context->width, context->height); + fprintf(fp, "Context (id:%p) (surface_type_id:%d) (width:%d) (height:%d)\n", + &context->context_id, context->surface_type_id, context->width, context->height); if (picture_structure == XVMC_FRAME_PICTURE) fprintf(fp, "picture structure: frame picture\n"); @@ -89,13 +89,13 @@ void intel_xvmc_dump_render(XvMCContext *context, unsigned int picture_structure else fprintf(fp, "picture type: Bad!\n"); - fprintf(fp, "target picture: id (%d) width (%d) height (%d)\n", target->surface_id, + fprintf(fp, "target picture: id (%p) width (%d) height (%d)\n", &target->surface_id, target->width, target->height); if (past) - fprintf(fp, "past picture: id (%d) width (%d) height (%d)\n", past->surface_id, + fprintf(fp, "past picture: id (%p) width (%d) height (%d)\n", &past->surface_id, past->width, past->height); if (future) - fprintf(fp, "future picture: id (%d) width (%d) height (%d)\n", future->surface_id, + fprintf(fp, "future picture: id (%p) width (%d) height (%d)\n", &future->surface_id, future->width, future->height); fprintf(fp, "num macroblocks: %d, first macroblocks %d\n", num_macroblocks, first_macroblock);