CodecRoster: Add GetDecoderInfo
This commit is contained in:
@@ -31,6 +31,9 @@ public:
|
|||||||
const media_codec_info& mci);
|
const media_codec_info& mci);
|
||||||
static void ReleaseDecoder(BDecoder* decoder);
|
static void ReleaseDecoder(BDecoder* decoder);
|
||||||
|
|
||||||
|
static status_t GetDecoderInfo(BDecoder* decoder,
|
||||||
|
media_codec_info* info);
|
||||||
|
|
||||||
static status_t InstantiateWriter(BWriter** writer,
|
static status_t InstantiateWriter(BWriter** writer,
|
||||||
const media_file_format& mff,
|
const media_file_format& mff,
|
||||||
BDataIO* target);
|
BDataIO* target);
|
||||||
|
|||||||
@@ -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
|
status_t
|
||||||
BCodecRoster::InstantiateWriter(BWriter** writer, const media_file_format& mff,
|
BCodecRoster::InstantiateWriter(BWriter** writer, const media_file_format& mff,
|
||||||
BDataIO* target)
|
BDataIO* target)
|
||||||
|
|||||||
Reference in New Issue
Block a user