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

Issue 2945853002: Only append SPS/PPS to bitstream if supplied out of bound. (Closed)

Created:
3 years, 6 months ago by philipel
Modified:
3 years, 6 months ago
Reviewers:
terelius, stefan-webrtc
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, danilchap, yujie_mao (webrtc), zhuangzesen_agora.io, zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Only append SPS/PPS to bitstream if supplied out of band. BUG=chromium:721597 Review-Url: https://codereview.webrtc.org/2945853002 Cr-Commit-Position: refs/heads/master@{#18701} Committed: https://chromium.googlesource.com/external/webrtc/+/83c97da5931956ae8596d2efcfdea282fdc86d2d

Patch Set 1 #

Total comments: 10

Patch Set 2 : . #

Patch Set 3 : Feedback #

Patch Set 4 : delete[] sps/pps data in unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -89 lines) Patch
M webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/include/h264_globals.h View 1 chunk +0 lines, -4 lines 0 comments Download
M webrtc/modules/video_coding/h264_sps_pps_tracker.cc View 1 2 4 chunks +38 lines, -56 lines 0 comments Download
M webrtc/modules/video_coding/h264_sps_pps_tracker_unittest.cc View 1 2 3 6 chunks +5 lines, -18 lines 0 comments Download
M webrtc/video/rtp_video_stream_receiver_unittest.cc View 5 chunks +7 lines, -9 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
philipel
https://codereview.webrtc.org/2945853002/diff/1/webrtc/video/rtp_video_stream_receiver_unittest.cc File webrtc/video/rtp_video_stream_receiver_unittest.cc (left): https://codereview.webrtc.org/2945853002/diff/1/webrtc/video/rtp_video_stream_receiver_unittest.cc#oldcode244 webrtc/video/rtp_video_stream_receiver_unittest.cc:244: idr_packet.type.Video.is_first_packet_in_frame = true; Set on line 241 https://codereview.webrtc.org/2945853002/diff/1/webrtc/video/rtp_video_stream_receiver_unittest.cc#oldcode246 webrtc/video/rtp_video_stream_receiver_unittest.cc:246: ...
3 years, 6 months ago (2017-06-19 14:50:54 UTC) #2
philipel
3 years, 6 months ago (2017-06-19 14:50:55 UTC) #3
stefan-webrtc
https://codereview.webrtc.org/2945853002/diff/1/webrtc/modules/video_coding/h264_sps_pps_tracker.cc File webrtc/modules/video_coding/h264_sps_pps_tracker.cc (right): https://codereview.webrtc.org/2945853002/diff/1/webrtc/modules/video_coding/h264_sps_pps_tracker.cc#newcode82 webrtc/modules/video_coding/h264_sps_pps_tracker.cc:82: RTC_DCHECK_LE(0, pps->second.size); I'd prefer RTC_DCHECK_GT(sps->second.size, 0) https://codereview.webrtc.org/2945853002/diff/1/webrtc/modules/video_coding/h264_sps_pps_tracker.cc#newcode86 webrtc/modules/video_coding/h264_sps_pps_tracker.cc:86: FALLTHROUGH(); ...
3 years, 6 months ago (2017-06-20 08:56:31 UTC) #4
philipel
https://codereview.webrtc.org/2945853002/diff/1/webrtc/modules/video_coding/h264_sps_pps_tracker.cc File webrtc/modules/video_coding/h264_sps_pps_tracker.cc (right): https://codereview.webrtc.org/2945853002/diff/1/webrtc/modules/video_coding/h264_sps_pps_tracker.cc#newcode82 webrtc/modules/video_coding/h264_sps_pps_tracker.cc:82: RTC_DCHECK_LE(0, pps->second.size); On 2017/06/20 08:56:31, stefan-webrtc wrote: > I'd ...
3 years, 6 months ago (2017-06-20 11:27:34 UTC) #5
stefan-webrtc
lgtm
3 years, 6 months ago (2017-06-20 15:09:05 UTC) #6
terelius
"out of bound" -> "out of band" in CL description?
3 years, 6 months ago (2017-06-20 15:12:54 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.webrtc.org/2945853002/40001
3 years, 6 months ago (2017-06-20 15:14:22 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_asan on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_asan/builds/25736)
3 years, 6 months ago (2017-06-20 15:43:56 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2945853002/60001
3 years, 6 months ago (2017-06-21 12:00:41 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/25158)
3 years, 6 months ago (2017-06-21 12:21:59 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2945853002/60001
3 years, 6 months ago (2017-06-21 14:20:31 UTC) #19
commit-bot: I haz the power
3 years, 6 months ago (2017-06-21 14:22:44 UTC) #22
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/external/webrtc/+/83c97da5931956ae8596d2efc...

Powered by Google App Engine
This is Rietveld 408576698