summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-02-14 12:17:39 +0100
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-02-14 12:17:39 +0100
commit899ad127cac4a9ba132ec9548d9e09d98bb791ba (patch)
tree1c71ff16c2b573d25dc8c5e8b750d265b6f65a69 /modules
parent04f96ac9367394e85479ac5b66c8c4d9842b97fb (diff)
omx: add omx prefix to debug messages
Diffstat (limited to 'modules')
-rw-r--r--modules/omx/module.c2
-rw-r--r--modules/omx/omx.c7
2 files changed, 5 insertions, 4 deletions
diff --git a/modules/omx/module.c b/modules/omx/module.c
index a5b6fa8..1580f75 100644
--- a/modules/omx/module.c
+++ b/modules/omx/module.c
@@ -38,7 +38,7 @@ static void destructor(void *arg)
}
-int omx_vidisp_alloc(struct vidisp_st **vp, const struct vidisp* vd,
+int omx_vidisp_alloc(struct vidisp_st **vp, const struct vidisp *vd,
struct vidisp_prm *prm, const char *dev,
vidisp_resize_h *resizeh, void *arg)
{
diff --git a/modules/omx/omx.c b/modules/omx/omx.c
index 16f38bf..8a03822 100644
--- a/modules/omx/omx.c
+++ b/modules/omx/omx.c
@@ -116,9 +116,10 @@ static struct OMX_CALLBACKTYPE callbacks = {
};
-int omx_init(struct omx_state* st)
+int omx_init(struct omx_state *st)
{
OMX_ERRORTYPE err;
+
#ifdef RASPBERRY_PI
bcm_host_init();
#endif
@@ -135,11 +136,11 @@ int omx_init(struct omx_state* st)
#endif
if (!st->video_render || err != 0) {
- warning("Failed to create OMX video_render component\n");
+ warning("omx: Failed to create OMX video_render component\n");
return ENOENT;
}
else {
- info("created video_render component\n");
+ info("omx: created video_render component\n");
return 0;
}
}