From f1b46b4dd50c7985e62c8a06a4e9e0b37c375702 Mon Sep 17 00:00:00 2001
From: Dario Casalinuovo <b.vitruvio@gmail.com>
Date: Mon, 9 Mar 2015 20:32:57 +0100
Subject: [PATCH 3/3] Use ERROR macro in MediaAddonServer instead of debugger
call
---
src/servers/media_addon/MediaAddonServer.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/servers/media_addon/MediaAddonServer.cpp b/src/servers/media_addon/MediaAddonServer.cpp
index 48e4370..9924bb5 100644
a
|
b
|
MediaAddonServer::ReadyToRun()
|
259 | 259 | if (result != B_OK) { |
260 | 260 | fprintf(stderr, "Can't register system time source : %s\n", |
261 | 261 | strerror(result)); |
262 | | debugger("Can't register system time source"); |
| 262 | ERROR("Can't register system time source"); |
263 | 263 | } |
264 | 264 | |
265 | 265 | if (fSystemTimeSource->ID() != NODE_SYSTEM_TIMESOURCE_ID) |
266 | | debugger("System time source got wrong node ID"); |
| 266 | ERROR("System time source got wrong node ID"); |
267 | 267 | media_node node = fSystemTimeSource->Node(); |
268 | 268 | result = MediaRosterEx(fMediaRoster)->SetNode(SYSTEM_TIME_SOURCE, &node); |
269 | 269 | if (result != B_OK) |
270 | | debugger("Can't setup system time source as default"); |
| 270 | ERROR("Can't setup system time source as default"); |
271 | 271 | |
272 | 272 | // During startup, first all add-ons are loaded, then all |
273 | 273 | // nodes (flavors) representing physical inputs and outputs |