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
|
// see also MediaReaderAddOn.cpp
|
||||||
#include "../AbstractFileInterfaceNode.h"
|
#include "../AbstractFileInterfaceNode.h"
|
||||||
#include "MediaReader.h"
|
#include "MediaReader.h"
|
||||||
#include "misc.h"
|
#include "../misc.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
#include <Buffer.h>
|
#include <Buffer.h>
|
||||||
@@ -728,8 +728,9 @@ void MediaReader::GetFlavor(flavor_info * outInfo, int32 id)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
AbstractFileInterfaceNode::GetFlavor(outInfo,id);
|
AbstractFileInterfaceNode::GetFlavor(outInfo,id);
|
||||||
outInfo->name = strdup("OpenBeOS Media Reader");
|
outInfo->name = strdup("Media Reader");
|
||||||
outInfo->info = strdup("The OpenBeOS Media Reader reads a file and produces a multistream.");
|
outInfo->info = strdup(
|
||||||
|
"The Haiku Media Reader reads a file and produces a multistream.");
|
||||||
outInfo->kinds |= B_BUFFER_PRODUCER;
|
outInfo->kinds |= B_BUFFER_PRODUCER;
|
||||||
outInfo->out_format_count = 1; // 1 output
|
outInfo->out_format_count = 1; // 1 output
|
||||||
media_format * formats = new media_format[outInfo->out_format_count];
|
media_format * formats = new media_format[outInfo->out_format_count];
|
||||||
|
|||||||
@@ -500,8 +500,9 @@ void MediaWriter::GetFlavor(flavor_info * outInfo, int32 id)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
AbstractFileInterfaceNode::GetFlavor(outInfo,id);
|
AbstractFileInterfaceNode::GetFlavor(outInfo,id);
|
||||||
strcpy(outInfo->name, "OpenBeOS Media Writer");
|
strcpy(outInfo->name, "Media Writer");
|
||||||
strcpy(outInfo->info, "The OpenBeOS Media Writer consumes a multistream and writes a file.");
|
strcpy(outInfo->info,
|
||||||
|
"The Haiku Media Writer consumes a multistream and writes a file.");
|
||||||
outInfo->kinds |= B_BUFFER_CONSUMER;
|
outInfo->kinds |= B_BUFFER_CONSUMER;
|
||||||
outInfo->in_format_count = 1; // 1 input
|
outInfo->in_format_count = 1; // 1 input
|
||||||
media_format * formats = new media_format[outInfo->in_format_count];
|
media_format * formats = new media_format[outInfo->in_format_count];
|
||||||
|
|||||||
Reference in New Issue
Block a user