Convert more printf to TRACE in media kit.

This commit is contained in:
Adrien Destugues 2014-04-25 08:29:50 +02:00
parent 502882dbd9
commit cb2c4f8d44
3 changed files with 2 additions and 4 deletions

View File

@ -178,8 +178,6 @@ FormatManager::GetFormats(bigtime_t lastUpdate, BMessage& reply)
reply.AddInt64("timestamp", system_time());
int32 count = fList.CountItems();
printf("FormatManager::GetFormats(): put %" B_PRId32 " formats into "
"message\n", count);
for (int32 i = 0; i < count; i++) {
meta_format* format = fList.ItemAt(i);
reply.AddData("formats", MEDIA_META_FORMAT_TYPE, format,

View File

@ -777,7 +777,7 @@ BMediaRoster::ReleaseNode(const media_node& node)
return B_MEDIA_BAD_NODE;
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
", team %" B_PRId32 "\n", node.node, node.port,
BPrivate::current_team());

View File

@ -328,7 +328,7 @@ PluginManager::~PluginManager()
for (int i = fPluginList.CountItems() - 1; i >= 0; i--) {
plugin_info* info = NULL;
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);
delete info->plugin;
unload_add_on(info->image);