Fix style issues in MediaAddonServer
Signed-off-by: Jérôme Duval <[email protected]>
This commit is contained in:
committed by
Jérôme Duval
parent
4d04c262c9
commit
5a1e452ba2
@@ -73,8 +73,8 @@ struct AddOnInfo {
|
||||
|
||||
NodeVector active_flavors;
|
||||
|
||||
BMediaAddOn* addon;
|
||||
// if != NULL, need to call gDormantNodeManager->PutAddOn(id)
|
||||
BMediaAddOn* addon;
|
||||
};
|
||||
|
||||
|
||||
@@ -274,8 +274,8 @@ MediaAddonServer::ReadyToRun()
|
||||
AddHandler(fMonitorHandler);
|
||||
|
||||
BMessage pulse(B_PULSE);
|
||||
fPulseRunner = new BMessageRunner(fMonitorHandler, &pulse, 1000000LL);
|
||||
// the monitor handler needs a pulse to check if add-ons are ready
|
||||
fPulseRunner = new BMessageRunner(fMonitorHandler, &pulse, 1000000LL);
|
||||
|
||||
fMonitorHandler->AddAddOnDirectories("media");
|
||||
|
||||
@@ -533,7 +533,8 @@ MediaAddonServer::_AddOnAdded(const char* path, ino_t fileNode)
|
||||
AddOnInfo& info = found->second;
|
||||
|
||||
info.id = id;
|
||||
info.wants_autostart = false; // temporary default
|
||||
// temporary default
|
||||
info.wants_autostart = false;
|
||||
info.flavor_count = 0;
|
||||
info.addon = addon;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user