CodecRoster: Add GetDecoderInfo

This commit is contained in:
Barrett17 2018-11-26 07:41:27 +01:00
parent 9a49da9d4e
commit f20ff4faec
2 changed files with 10 additions and 0 deletions

View File

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

View File

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