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

Issue 2093823002: Consider non-keyframes for RTCVideoEncoder error counter (Closed)

Created:
4 years, 6 months ago by emircan
Modified:
4 years, 5 months ago
Reviewers:
mcasas
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Consider non-keyframes for RTCVideoEncoder error counter This CL addresses the bug below. Earlier on, we experimented and decided that we would fallback to SW decoded after 50 consecutive HW decode errors. However, after an error in keyframe, non-keyframes would be dropped and not added to the error counter. As a result, we would wait for 50 keyframe errors before SW fallback, which takes a long time. This CL fixes the issues resulting from this. BUG=616968 TEST=Tried the problematic Cisco stream referred in bug. First 3-5 seconds, we don't get a video(due to HW errors) but works afterwards(falling back to SW). Committed: https://crrev.com/371076858624f9f2619703fa7ef2e1909a8ee733 Cr-Commit-Position: refs/heads/master@{#403353}

Patch Set 1 #

Total comments: 5

Patch Set 2 : mcasas@ comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -23 lines) Patch
M content/renderer/media/gpu/rtc_video_decoder.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/media/gpu/rtc_video_decoder.cc View 1 5 chunks +6 lines, -11 lines 0 comments Download
M content/renderer/media/gpu/rtc_video_decoder_unittest.cc View 1 3 chunks +6 lines, -9 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
emircan
PTAL.
4 years, 6 months ago (2016-06-23 22:52:25 UTC) #3
emircan
Detailed explanation: This CL tries to address the bug we found while debugging Webex problems. ...
4 years, 5 months ago (2016-06-29 02:20:15 UTC) #4
mcasas
LGTM in form, please add some TEST= line detailing how this is verified in the ...
4 years, 5 months ago (2016-06-30 18:07:26 UTC) #5
emircan
https://codereview.chromium.org/2093823002/diff/1/content/renderer/media/rtc_video_decoder.cc File content/renderer/media/rtc_video_decoder.cc (right): https://codereview.chromium.org/2093823002/diff/1/content/renderer/media/rtc_video_decoder.cc#newcode239 content/renderer/media/rtc_video_decoder.cc:239: DVLOG(1) << "The first frame should be a key ...
4 years, 5 months ago (2016-06-30 20:39:17 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2093823002/60001
4 years, 5 months ago (2016-06-30 23:32:06 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years, 5 months ago (2016-06-30 23:55:32 UTC) #14
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-30 23:55:47 UTC) #15
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 23:57:09 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/371076858624f9f2619703fa7ef2e1909a8ee733
Cr-Commit-Position: refs/heads/master@{#403353}

Powered by Google App Engine
This is Rietveld 408576698