Convert more printf to TRACE in media kit.
This commit is contained in:
@@ -178,8 +178,6 @@ FormatManager::GetFormats(bigtime_t lastUpdate, BMessage& reply)
|
|||||||
reply.AddInt64("timestamp", system_time());
|
reply.AddInt64("timestamp", system_time());
|
||||||
|
|
||||||
int32 count = fList.CountItems();
|
int32 count = fList.CountItems();
|
||||||
printf("FormatManager::GetFormats(): put %" B_PRId32 " formats into "
|
|
||||||
"message\n", count);
|
|
||||||
for (int32 i = 0; i < count; i++) {
|
for (int32 i = 0; i < count; i++) {
|
||||||
meta_format* format = fList.ItemAt(i);
|
meta_format* format = fList.ItemAt(i);
|
||||||
reply.AddData("formats", MEDIA_META_FORMAT_TYPE, format,
|
reply.AddData("formats", MEDIA_META_FORMAT_TYPE, format,
|
||||||
|
|||||||
@@ -777,7 +777,7 @@ BMediaRoster::ReleaseNode(const media_node& node)
|
|||||||
return B_MEDIA_BAD_NODE;
|
return B_MEDIA_BAD_NODE;
|
||||||
|
|
||||||
if (node.kind & NODE_KIND_NO_REFCOUNTING) {
|
if (node.kind & NODE_KIND_NO_REFCOUNTING) {
|
||||||
printf("BMediaRoster::ReleaseNode, trying to release reference "
|
TRACE("BMediaRoster::ReleaseNode, trying to release reference "
|
||||||
"counting disabled timesource, node %" B_PRId32 ", port %" B_PRId32
|
"counting disabled timesource, node %" B_PRId32 ", port %" B_PRId32
|
||||||
", team %" B_PRId32 "\n", node.node, node.port,
|
", team %" B_PRId32 "\n", node.node, node.port,
|
||||||
BPrivate::current_team());
|
BPrivate::current_team());
|
||||||
|
|||||||
@@ -328,7 +328,7 @@ PluginManager::~PluginManager()
|
|||||||
for (int i = fPluginList.CountItems() - 1; i >= 0; i--) {
|
for (int i = fPluginList.CountItems() - 1; i >= 0; i--) {
|
||||||
plugin_info* info = NULL;
|
plugin_info* info = NULL;
|
||||||
fPluginList.Get(i, &info);
|
fPluginList.Get(i, &info);
|
||||||
printf("PluginManager: Error, unloading PlugIn %s with usecount "
|
TRACE("PluginManager: Error, unloading PlugIn %s with usecount "
|
||||||
"%d\n", info->name, info->usecount);
|
"%d\n", info->name, info->usecount);
|
||||||
delete info->plugin;
|
delete info->plugin;
|
||||||
unload_add_on(info->image);
|
unload_add_on(info->image);
|
||||||
|
|||||||
Reference in New Issue
Block a user