diff options
author | bbudge <bbudge@chromium.org> | 2014-08-23 15:17:45 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-23 22:18:36 +0000 |
commit | 4d6acafdc75e94256ab7c75f2f3e8a46e42bb9ec (patch) | |
tree | c992d155554bce6fc4638b9b4eea09693a5673c0 /native_client_sdk | |
parent | 878e9535344a864efec4c5137e3b1363f911f378 (diff) | |
download | chromium_src-4d6acafdc75e94256ab7c75f2f3e8a46e42bb9ec.zip chromium_src-4d6acafdc75e94256ab7c75f2f3e8a46e42bb9ec.tar.gz chromium_src-4d6acafdc75e94256ab7c75f2f3e8a46e42bb9ec.tar.bz2 |
Pepper: PPB_VideoDecoder software-only mode.
Add 'Initialize' method that takes an enum value to specify hardware
acceleration policy. Policies are always, with fallback and only software.
BUG=406194
Review URL: https://codereview.chromium.org/496203002
Cr-Commit-Position: refs/heads/master@{#291606}
Diffstat (limited to 'native_client_sdk')
-rw-r--r-- | native_client_sdk/src/examples/api/video_decode/video_decode.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native_client_sdk/src/examples/api/video_decode/video_decode.cc b/native_client_sdk/src/examples/api/video_decode/video_decode.cc index 80088b9..9664c9b 100644 --- a/native_client_sdk/src/examples/api/video_decode/video_decode.cc +++ b/native_client_sdk/src/examples/api/video_decode/video_decode.cc @@ -254,7 +254,7 @@ Decoder::Decoder(MyInstance* instance, assert(!decoder_->is_null()); decoder_->Initialize(graphics_3d, kBitstreamProfile, - PP_TRUE /* allow_software_fallback */, + PP_HARDWAREACCELERATION_WITHFALLBACK, callback_factory_.NewCallback(&Decoder::InitializeDone)); } |