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

Issue 2532953009: RtcVideoDecoder: do not fallback to software when getting size 0x0 keyframe. (Closed)

Created:
4 years ago by wuchengli
Modified:
4 years ago
Reviewers:
Pawel Osciak, Stefan
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, Stefan
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

RtcVideoDecoder: do not fallback to software when getting size 0x0 keyframe. A keyframe doesn't mean it has a resolution like IDR. On the other hand, SPS is not a keyframe but it has a resolution. Size 0x0 is not a new resolution and we should not fallback to software decoder. BUG=653434 TEST=H264/VP8 apprtc loopback and Hangout on Sentry and Elm. Committed: https://crrev.com/91f58a78aa62ea4b6e3a81a98f017fdc1c0ed644 Cr-Commit-Position: refs/heads/master@{#435901}

Patch Set 1 #

Patch Set 2 : RtcVideoDecoder: do not fallback to software when getting size 0x0 keyframe. #

Patch Set 3 : do not use keyframe to decide if a frame has size #

Total comments: 2

Patch Set 4 : address Pawel's comments #

Patch Set 5 : fix the test #

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

Messages

Total messages: 36 (24 generated)
wuchengli
4 years ago (2016-11-30 13:58:41 UTC) #2
Stefan
lgtm
4 years ago (2016-11-30 15:02:21 UTC) #8
wuchengli
PTAL
4 years ago (2016-12-01 08:48:17 UTC) #12
Pawel Osciak
lgtm % nit, but please also test vp8 loopback just in case. https://codereview.chromium.org/2532953009/diff/40001/content/renderer/media/gpu/rtc_video_decoder.cc File content/renderer/media/gpu/rtc_video_decoder.cc ...
4 years ago (2016-12-02 00:13:00 UTC) #13
wuchengli
Done. https://codereview.chromium.org/2532953009/diff/40001/content/renderer/media/gpu/rtc_video_decoder.cc File content/renderer/media/gpu/rtc_video_decoder.cc (right): https://codereview.chromium.org/2532953009/diff/40001/content/renderer/media/gpu/rtc_video_decoder.cc#newcode215 content/renderer/media/gpu/rtc_video_decoder.cc:215: if (!new_frame_size.IsEmpty()) { On 2016/12/02 00:13:00, Pawel Osciak ...
4 years ago (2016-12-02 05:54:48 UTC) #15
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/2532953009/60001
4 years ago (2016-12-02 05:55:18 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/271039)
4 years ago (2016-12-02 06:17:37 UTC) #20
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/2532953009/60001
4 years ago (2016-12-02 07:33:37 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/271086)
4 years ago (2016-12-02 07:45:16 UTC) #28
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/2532953009/80001
4 years ago (2016-12-02 08:52:18 UTC) #31
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-02 10:06:35 UTC) #34
commit-bot: I haz the power
4 years ago (2016-12-02 10:08:50 UTC) #36
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/91f58a78aa62ea4b6e3a81a98f017fdc1c0ed644
Cr-Commit-Position: refs/heads/master@{#435901}

Powered by Google App Engine
This is Rietveld 408576698