|
|
Chromium Code Reviews|
Created:
4 years ago by wuchengli Modified:
4 years ago 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. |
DescriptionRtcVideoDecoder: 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 #
Messages
Total messages: 36 (24 generated)
wuchengli@chromium.org changed reviewers: + holmer@chromium.org, posciak@chromium.org
The CQ bit was checked by wuchengli@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== RtcVideoDecoder: do not fallback to software when getting size 0x0 keyframe. BUG=653434 TEST=H264 apprtc loopback on Sentry. ========== to ========== RtcVideoDecoder: do not fallback to software when getting size 0x0 keyframe. BUG=653434 TEST=H264 apprtc loopback on Sentry. ==========
wuchengli@chromium.org changed reviewers: - holmer@chromium.org
holmer@chromium.org changed reviewers: + holmer@chromium.org
lgtm
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from ========== RtcVideoDecoder: do not fallback to software when getting size 0x0 keyframe. BUG=653434 TEST=H264 apprtc loopback on Sentry. ========== to ========== 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 apprtc loopback and Hangout on Sentry and Elm. ==========
PTAL
lgtm % nit, but please also test vp8 loopback just in case. https://codereview.chromium.org/2532953009/diff/40001/content/renderer/media/... File content/renderer/media/gpu/rtc_video_decoder.cc (right): https://codereview.chromium.org/2532953009/diff/40001/content/renderer/media/... content/renderer/media/gpu/rtc_video_decoder.cc:215: if (!new_frame_size.IsEmpty()) { if (!new_frame_size.IsEmpty() && new_frame_size != frame_size_) {
Description was changed from ========== 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 apprtc loopback and Hangout on Sentry and Elm. ========== to ========== 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. ==========
Done. https://codereview.chromium.org/2532953009/diff/40001/content/renderer/media/... File content/renderer/media/gpu/rtc_video_decoder.cc (right): https://codereview.chromium.org/2532953009/diff/40001/content/renderer/media/... content/renderer/media/gpu/rtc_video_decoder.cc:215: if (!new_frame_size.IsEmpty()) { On 2016/12/02 00:13:00, Pawel Osciak wrote: > if (!new_frame_size.IsEmpty() && new_frame_size != frame_size_) { Done.
The CQ bit was checked by wuchengli@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from holmer@chromium.org, posciak@chromium.org Link to the patchset: https://codereview.chromium.org/2532953009/#ps60001 (title: "address Pawel's comments")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
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_linu...)
The CQ bit was checked by wuchengli@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by wuchengli@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
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_linu...)
The CQ bit was checked by wuchengli@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from posciak@chromium.org, holmer@chromium.org Link to the patchset: https://codereview.chromium.org/2532953009/#ps80001 (title: "fix the test")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 80001, "attempt_start_ts": 1480668709259270,
"parent_rev": "89ec25bcbf8a5ff6af8a0836b7d987cbf19bafbc", "commit_rev":
"cb411e4b842a444016b81bc75552683fc1eea247"}
Message was sent while issue was closed.
Description was changed from ========== 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. ========== to ========== 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. ==========
Message was sent while issue was closed.
Committed patchset #5 (id:80001)
Message was sent while issue was closed.
Description was changed from ========== 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. ========== to ========== 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} ==========
Message was sent while issue was closed.
Patchset 5 (id:??) landed as https://crrev.com/91f58a78aa62ea4b6e3a81a98f017fdc1c0ed644 Cr-Commit-Position: refs/heads/master@{#435901} |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
