Index: content/common/gpu/media/vaapi_video_decode_accelerator.cc |
=================================================================== |
--- content/common/gpu/media/vaapi_video_decode_accelerator.cc (revision 150008) |
+++ content/common/gpu/media/vaapi_video_decode_accelerator.cc (working copy) |
@@ -67,10 +67,6 @@ |
client_(client_ptr_factory_.GetWeakPtr()), |
decoder_thread_("VaapiDecoderThread") { |
DCHECK(client); |
- static bool vaapi_functions_initialized = PostSandboxInitialization(); |
- RETURN_AND_NOTIFY_ON_FAILURE(vaapi_functions_initialized, |
- "Failed to initialize VAAPI libs", |
- PLATFORM_FAILURE, ); |
} |
VaapiVideoDecodeAccelerator::~VaapiVideoDecodeAccelerator() { |
@@ -559,16 +555,6 @@ |
delete this; |
} |
-// static |
-void VaapiVideoDecodeAccelerator::PreSandboxInitialization() { |
- VaapiH264Decoder::PreSandboxInitialization(); |
-} |
- |
-// static |
-bool VaapiVideoDecodeAccelerator::PostSandboxInitialization() { |
- return VaapiH264Decoder::PostSandboxInitialization(); |
-} |
- |
void VaapiVideoDecodeAccelerator::OutputPicCallback(int32 input_id, |
int32 output_id) { |
TRACE_EVENT2("Video Decoder", "VAVDA::OutputPicCallback", |