media_reader/media_writer: Fix build issue and cleanup
* Remove references to the old project name.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
// see also MediaReaderAddOn.cpp
|
||||
#include "../AbstractFileInterfaceNode.h"
|
||||
#include "MediaReader.h"
|
||||
#include "misc.h"
|
||||
#include "../misc.h"
|
||||
#include "debug.h"
|
||||
|
||||
#include <Buffer.h>
|
||||
@@ -728,8 +728,9 @@ void MediaReader::GetFlavor(flavor_info * outInfo, int32 id)
|
||||
return;
|
||||
|
||||
AbstractFileInterfaceNode::GetFlavor(outInfo,id);
|
||||
outInfo->name = strdup("OpenBeOS Media Reader");
|
||||
outInfo->info = strdup("The OpenBeOS Media Reader reads a file and produces a multistream.");
|
||||
outInfo->name = strdup("Media Reader");
|
||||
outInfo->info = strdup(
|
||||
"The Haiku Media Reader reads a file and produces a multistream.");
|
||||
outInfo->kinds |= B_BUFFER_PRODUCER;
|
||||
outInfo->out_format_count = 1; // 1 output
|
||||
media_format * formats = new media_format[outInfo->out_format_count];
|
||||
|
||||
@@ -500,8 +500,9 @@ void MediaWriter::GetFlavor(flavor_info * outInfo, int32 id)
|
||||
return;
|
||||
}
|
||||
AbstractFileInterfaceNode::GetFlavor(outInfo,id);
|
||||
strcpy(outInfo->name, "OpenBeOS Media Writer");
|
||||
strcpy(outInfo->info, "The OpenBeOS Media Writer consumes a multistream and writes a file.");
|
||||
strcpy(outInfo->name, "Media Writer");
|
||||
strcpy(outInfo->info,
|
||||
"The Haiku Media Writer consumes a multistream and writes a file.");
|
||||
outInfo->kinds |= B_BUFFER_CONSUMER;
|
||||
outInfo->in_format_count = 1; // 1 input
|
||||
media_format * formats = new media_format[outInfo->in_format_count];
|
||||
|
||||
Reference in New Issue
Block a user