mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
Cleanup some comments in our media code.
This commit is contained in:
parent
3c9d8715a7
commit
ae5c83e90d
4 changed files with 4 additions and 9 deletions
|
|
@ -14,7 +14,7 @@
|
|||
#include "MP3FrameParser.h"
|
||||
|
||||
// Add the graph to the Running Object Table so that we can connect
|
||||
// to this graph with GraphEdit/GraphStudio. Note: on Vista and up you must
|
||||
// to this graph with GraphEdit/GraphStudio. Note: you must
|
||||
// also regsvr32 proppage.dll from the Windows SDK.
|
||||
// See: http://msdn.microsoft.com/en-us/library/ms787252(VS.85).aspx
|
||||
// #define DIRECTSHOW_REGISTER_GRAPH
|
||||
|
|
|
|||
|
|
@ -516,8 +516,7 @@ GMPCapability::Supports(const nsTArray<GMPCapability>& aCapabilities,
|
|||
#ifdef XP_WIN
|
||||
// Clearkey on Windows advertises that it can decode in its GMP info
|
||||
// file, but uses Windows Media Foundation to decode. That's not present
|
||||
// on Windows XP, and on some Vista, Windows N, and KN variants without
|
||||
// certain services packs.
|
||||
// on Windows N and KN variants without certain services packs.
|
||||
if (tag.Equals(kEMEKeySystemClearkey)) {
|
||||
if (capabilities.mAPIName.EqualsLiteral(GMP_API_VIDEO_DECODER)) {
|
||||
if (!WMFDecoderModule::HasH264()) {
|
||||
|
|
|
|||
|
|
@ -62,8 +62,6 @@ namespace mozilla {
|
|||
|
||||
// Returns true if we should enable MSE webm regardless of preferences.
|
||||
// 1. If MP4/H264 isn't supported:
|
||||
// * Windows XP
|
||||
// * Windows Vista and Server 2008 without the optional "Platform Update Supplement"
|
||||
// * N/KN editions (Europe and Korea) of Windows 7/8/8.1/10 without the
|
||||
// optional "Windows Media Feature Pack"
|
||||
// 2. If H264 hardware acceleration is not available.
|
||||
|
|
|
|||
|
|
@ -40,10 +40,8 @@ public:
|
|||
static int GetNumDecoderThreads();
|
||||
|
||||
// Accessors that report whether we have the required MFTs available
|
||||
// on the system to play various codecs. Windows Vista doesn't have the
|
||||
// H.264/AAC decoders if the "Platform Update Supplement for Windows Vista"
|
||||
// is not installed, and Window N and KN variants also require a "Media
|
||||
// Feature Pack" to be installed. Windows XP doesn't have WMF.
|
||||
// on the system to play various codecs. Windows N and KN variants
|
||||
// require a "Media Feature Pack" to be installed.
|
||||
static bool HasAAC();
|
||||
static bool HasH264();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue