CodecRoster: Add GetDecoderInfo
This commit is contained in:
parent
9a49da9d4e
commit
f20ff4faec
@ -30,6 +30,9 @@ public:
|
||||
static status_t InstantiateDecoder(BDecoder** decoder,
|
||||
const media_codec_info& mci);
|
||||
static void ReleaseDecoder(BDecoder* decoder);
|
||||
|
||||
static status_t GetDecoderInfo(BDecoder* decoder,
|
||||
media_codec_info* info);
|
||||
|
||||
static status_t InstantiateWriter(BWriter** writer,
|
||||
const media_file_format& mff,
|
||||
|
@ -46,6 +46,13 @@ BCodecRoster::ReleaseDecoder(BDecoder* decoder)
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
BCodecRoster::GetDecoderInfo(BDecoder* decoder, media_codec_info* info)
|
||||
{
|
||||
return gPluginManager.GetDecoderInfo(decoder, info);
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
BCodecRoster::InstantiateWriter(BWriter** writer, const media_file_format& mff,
|
||||
BDataIO* target)
|
||||
|
Loading…
Reference in New Issue
Block a user