Fix VideoDecoderShim to simulate synchronous initialization.
commita07f35f98c09b87e4702b52ef6e4cba21bbb9d2f
authorsergeyu <sergeyu@chromium.org>
Tue, 1 Sep 2015 19:02:49 +0000 (1 12:02 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 1 Sep 2015 19:03:19 +0000 (1 19:03 +0000)
tree1815af1772b28588a4360223f31ca1aa4cb088c1
parent624ee8f841367bf8f5adfdd9906ee34a505eaf7c
Fix VideoDecoderShim to simulate synchronous initialization.

VideoDecoderShim initialization is not expected to fail because the
software decoders support all video profiles supported by the API, so
shim initialization doesn't need to be asynchronous. This will
simplify the fix for the linked bug.

BUG=514906

Review URL: https://codereview.chromium.org/1312433003

Cr-Commit-Position: refs/heads/master@{#346699}
content/renderer/pepper/pepper_video_decoder_host.cc
content/renderer/pepper/pepper_video_decoder_host.h
content/renderer/pepper/video_decoder_shim.cc
content/renderer/pepper/video_decoder_shim.h
media/ffmpeg/ffmpeg_common.cc
media/ffmpeg/ffmpeg_common.h
media/filters/ffmpeg_video_decoder.cc
media/filters/ffmpeg_video_decoder.h