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