Codec Kit: Move plugins to new class names
This commit is contained in:
parent
1b96c34179
commit
ec45f6adce
@ -40,14 +40,14 @@ HTTPStreamer::Sniff(const BUrl& url, BDataIO** source)
|
||||
}
|
||||
|
||||
|
||||
Streamer*
|
||||
BStreamer*
|
||||
HTTPStreamerPlugin::NewStreamer()
|
||||
{
|
||||
return new HTTPStreamer();
|
||||
}
|
||||
|
||||
|
||||
MediaPlugin *instantiate_plugin()
|
||||
BMediaPlugin *instantiate_plugin()
|
||||
{
|
||||
return new HTTPStreamerPlugin();
|
||||
}
|
||||
|
@ -6,9 +6,10 @@
|
||||
#define _HTTP_STREAMER_PLUGIN_H
|
||||
|
||||
|
||||
#include "StreamerPlugin.h"
|
||||
#include <Streamer.h>
|
||||
|
||||
class HTTPStreamer : public Streamer
|
||||
|
||||
class HTTPStreamer : public BStreamer
|
||||
{
|
||||
public:
|
||||
HTTPStreamer();
|
||||
@ -18,10 +19,10 @@ public:
|
||||
};
|
||||
|
||||
|
||||
class HTTPStreamerPlugin : public StreamerPlugin
|
||||
class HTTPStreamerPlugin : public BStreamerPlugin
|
||||
{
|
||||
public:
|
||||
virtual Streamer* NewStreamer();
|
||||
virtual BStreamer* NewStreamer();
|
||||
};
|
||||
|
||||
#endif // _HTTP_STREAMER_PLUGIN_H
|
||||
|
@ -520,7 +520,7 @@ RawDecoder::Decode(void *buffer, int64 *frameCount,
|
||||
}
|
||||
|
||||
|
||||
Decoder *
|
||||
BDecoder *
|
||||
RawDecoderPlugin::NewDecoder(uint index)
|
||||
{
|
||||
return new RawDecoder;
|
||||
@ -565,7 +565,7 @@ RawDecoderPlugin::GetSupportedFormats(media_format ** formats, size_t * count)
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
MediaPlugin *instantiate_plugin()
|
||||
BMediaPlugin *instantiate_plugin()
|
||||
{
|
||||
return new RawDecoderPlugin;
|
||||
}
|
||||
|
@ -25,9 +25,10 @@
|
||||
#ifndef _RAW_DECODER_PLUGIN_H
|
||||
#define _RAW_DECODER_PLUGIN_H
|
||||
|
||||
#include "DecoderPlugin.h"
|
||||
#include <Decoder.h>
|
||||
|
||||
class RawDecoder : public Decoder
|
||||
|
||||
class RawDecoder : public BDecoder
|
||||
{
|
||||
public:
|
||||
void GetCodecInfo(media_codec_info *info);
|
||||
|
Loading…
x
Reference in New Issue
Block a user