Index: ppapi/proxy/ppb_video_decoder_proxy.cc |
=================================================================== |
--- ppapi/proxy/ppb_video_decoder_proxy.cc (revision 254462) |
+++ ppapi/proxy/ppb_video_decoder_proxy.cc (working copy) |
@@ -197,6 +197,9 @@ |
if (enter_context.failed()) |
return 0; |
+ if (!dispatcher->preferences().is_accelerated_video_decode_enabled) |
bbudge
2014/03/06 01:04:04
This seems out of place in the middle of grabbing
ananta
2014/03/06 01:06:46
Done.
|
+ return 0; |
+ |
Graphics3D* context = static_cast<Graphics3D*>(enter_context.object()); |
HostResource result; |