* Failing to find an add-on for a BMediaNode could simply mean that the
node was instantiated by an application, therefor it is not an error. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24500 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -96,14 +96,18 @@ BMediaRosterEx::SaveNodeConfiguration(BMediaNode *node)
|
||||
int32 flavorid;
|
||||
addon = node->AddOn(&flavorid);
|
||||
if (!addon) {
|
||||
// NOTE: This node could have been created by an application,
|
||||
// it does not mean there is an error.
|
||||
// XXX this check incorrectly triggers on BeOS R5 BT848 node
|
||||
ERROR("BMediaRosterEx::SaveNodeConfiguration node %ld not instantiated from BMediaAddOn!\n", node->ID());
|
||||
TRACE("BMediaRosterEx::SaveNodeConfiguration node %ld not instantiated "
|
||||
"from BMediaAddOn!\n", node->ID());
|
||||
return B_ERROR;
|
||||
}
|
||||
addonid = addon->AddonID();
|
||||
|
||||
// XXX fix this
|
||||
printf("### BMediaRosterEx::SaveNodeConfiguration should save addon-id %ld, flavor-id %ld config NOW!\n", addonid, flavorid);
|
||||
printf("### BMediaRosterEx::SaveNodeConfiguration should save addon-id "
|
||||
"%ld, flavor-id %ld config NOW!\n", addonid, flavorid);
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user