зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1062596 - Re-enable hardware acceleration in AppleVTDecoder. r=rillian
This commit is contained in:
Родитель
61f592a0ca
Коммит
a243268a94
|
@ -449,9 +449,6 @@ AppleVTDecoder::InitializeSession()
|
|||
CFDictionaryCreateMutable(NULL, 0,
|
||||
&kCFTypeDictionaryKeyCallBacks,
|
||||
&kCFTypeDictionaryValueCallBacks);
|
||||
// FIXME: Enabling hardware acceleration causes crashes in
|
||||
// VTDecompressionSessionCreate() with multiple videos. Bug 1055694
|
||||
#if 0
|
||||
// This key is supported (or ignored) but not declared prior to OSX 10.9.
|
||||
AutoCFRelease<CFStringRef>
|
||||
kVTVideoDecoderSpecification_EnableHardwareAcceleratedVideoDecoder =
|
||||
|
@ -461,7 +458,6 @@ AppleVTDecoder::InitializeSession()
|
|||
CFDictionarySetValue(spec,
|
||||
kVTVideoDecoderSpecification_EnableHardwareAcceleratedVideoDecoder,
|
||||
kCFBooleanTrue);
|
||||
#endif
|
||||
|
||||
VTDecompressionOutputCallbackRecord cb = { PlatformCallback, this };
|
||||
rv = VTDecompressionSessionCreate(NULL, // Allocator.
|
||||
|
|
Загрузка…
Ссылка в новой задаче