new MediaFormats. node monitoring codec plugin loading. codec mods to support new codec api to retrieve supported formats.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6465 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -71,6 +71,9 @@ enum {
|
||||
MEDIA_SERVER_SEND_NOTIFICATIONS,
|
||||
|
||||
MEDIA_SERVER_GET_FORMATS,
|
||||
MEDIA_SERVER_MAKE_FORMAT_FOR,
|
||||
|
||||
MEDIA_SERVER_READY,
|
||||
};
|
||||
|
||||
// Raw port based communication
|
||||
|
||||
@@ -49,8 +49,8 @@ class DecoderPlugin : public virtual MediaPlugin
|
||||
public:
|
||||
DecoderPlugin();
|
||||
|
||||
virtual Decoder *NewDecoder() = 0;
|
||||
virtual status_t RegisterDecoder() = 0;
|
||||
virtual Decoder *NewDecoder(uint index) = 0;
|
||||
virtual status_t GetSupportedFormats(media_format ** formats, size_t * count) = 0;
|
||||
};
|
||||
|
||||
} } // namespace BPrivate::media
|
||||
|
||||
Reference in New Issue
Block a user