summarylogtreecommitdiffstats
path: root/libomxfbdevsink_64bit.patch
blob: 02174d8e702653cef3f231759436f874b2301af2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
proper memory address printf

Wilken 'Akiko' Gottwalt <akiko@mailbox.org>

--- src/omx_fbdev_sink_component.c.orig	2015-11-27 11:46:44.478803120 +0100
+++ src/omx_fbdev_sink_component.c	2015-11-27 11:48:59.177544525 +0100
@@ -76,7 +76,7 @@
       return OMX_ErrorInsufficientResources;
     }
   } else {
-    DEBUG(DEB_LEV_FUNCTION_NAME, "In %s, Error Component %x Already Allocated\n", __func__, (int)openmaxStandComp->pComponentPrivate);
+    DEBUG(DEB_LEV_FUNCTION_NAME, "In %s, Error Component %p Already Allocated\n", __func__, openmaxStandComp->pComponentPrivate);
   }
 
   omx_fbdev_sink_component_Private = openmaxStandComp->pComponentPrivate;
@@ -265,7 +265,10 @@
     return OMX_ErrorHardware;
   }
 
-  DEBUG(DEB_LEV_SIMPLE_SEQ, "mmap framebuffer memory =%x omx_fbdev_sink_component_Private->product=%d stride=%d\n",(int)omx_fbdev_sink_component_Private->scr_ptr,(int)omx_fbdev_sink_component_Private->product,(int)omx_fbdev_sink_component_Private->fbstride);
+  DEBUG(DEB_LEV_SIMPLE_SEQ, "mmap framebuffer memory =%p omx_fbdev_sink_component_Private->product=%d stride=%d\n",
+        omx_fbdev_sink_component_Private->scr_ptr,
+        (int)omx_fbdev_sink_component_Private->product,
+        (int)omx_fbdev_sink_component_Private->fbstride);
   DEBUG(DEB_LEV_SIMPLE_SEQ, "Successfully opened %s for display.\n", "/dev/fb0");
   DEBUG(DEB_LEV_SIMPLE_SEQ, "Display Size: %u x %u\n", (int)omx_fbdev_sink_component_Private->fbwidth, (int)omx_fbdev_sink_component_Private->fbheight);
   DEBUG(DEB_LEV_SIMPLE_SEQ, "Bitdepth: %u\n", (int)omx_fbdev_sink_component_Private->fbbpp);