Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: native_client_sdk/src/examples/api/video_decode/video_decode.cc

Issue 496203002: Pepper: PPB_VideoDecoder software-only mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/pepper/pepper_video_decoder_host.cc ('k') | ppapi/api/pp_codecs.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/examples/api/video_decode/video_decode.cc
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 80088b9e27358c2814efe9c730cc6db09b678aba..9664c9b6407ddb85969923a90fe9c5d87d6440e1 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));
}
« no previous file with comments | « content/renderer/pepper/pepper_video_decoder_host.cc ('k') | ppapi/api/pp_codecs.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698