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

Unified Diff: media/gpu/android_video_encode_accelerator.cc

Issue 2288103003: Enable HW encoding on Android. (Closed)
Patch Set: Undo the changes in the MediaCodecBridge. Created 4 years, 3 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 | « gpu/config/software_rendering_list_json.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/android_video_encode_accelerator.cc
diff --git a/media/gpu/android_video_encode_accelerator.cc b/media/gpu/android_video_encode_accelerator.cc
index 2b847e68b1bea2c82c41143aa9a8c6b77633da34..023d2351a1ee4047b0b008d784b114ce887b9d07 100644
--- a/media/gpu/android_video_encode_accelerator.cc
+++ b/media/gpu/android_video_encode_accelerator.cc
@@ -383,8 +383,6 @@ void AndroidVideoEncodeAccelerator::DequeueOutput() {
return;
case MEDIA_CODEC_OUTPUT_FORMAT_CHANGED:
- RETURN_ON_FAILURE(false, "Unexpected output format change",
- kPlatformFailureError);
break;
case MEDIA_CODEC_OUTPUT_BUFFERS_CHANGED:
« no previous file with comments | « gpu/config/software_rendering_list_json.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698