new MediaFormats. node monitoring codec plugin loading. codec mods to support new codec api to retrieve supported formats.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6465 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
shatty
2004-02-02 05:26:40 +00:00
parent 5b25332a79
commit fa8dbc019d
26 changed files with 999 additions and 205 deletions
+8
View File
@@ -31,6 +31,14 @@ AddOnMonitorHandler::MessageReceived(BMessage * msg)
/* virtual */ status_t
AddOnMonitorHandler::AddDirectory(const node_ref * nref)
{
// ignore directories added twice
std::list<add_on_directory_info>::iterator diter = directories.begin();
for( ; diter != directories.end() ; diter++) {
if (diter->nref == *nref) {
return B_OK;
}
}
BDirectory directory(nref);
status_t status = directory.InitCheck();
if (status != B_OK) {