Codec Kit: Move plugins to new class names

This commit is contained in:
Barrett17 2018-11-25 17:31:11 +01:00
parent 1b96c34179
commit ec45f6adce
4 changed files with 12 additions and 10 deletions

View File

@ -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();
}

View File

@ -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

View File

@ -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;
}

View File

@ -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);