GeckoMediaPlugins: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 39: Line 39:
Description: Provides encoding and decoding of h.264 video.
Description: Provides encoding and decoding of h.264 video.
Version: 2.1
Version: 2.1
Capability: encode-video, decode-video
Capability: encode-video[h264], decode-video[h264]
</pre>
</pre>


The capability record lists strings used to identify APIs provided by the GMP.
The capability record lists strings used to identify APIs provided by the GMP. Each API can (optionally) have a list of tags associated with it, giving further information about what is supported. The separator character for the list of tags is ":" (e.g. "[aFormat:bFormat:cFormat]"). In this example the plugin is stating that it can operate on "h264" video, which is understood by Gecko. This allows Gecko to know what formats are supported without loading the plugin.


== How Gecko Loads a GMP ==
== How Gecko Loads a GMP ==
Confirmed users, Bureaucrats and Sysops emeriti
1,680

edits

Navigation menu