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

Issue 2750633003: Save width/height of SPS nalus and restore them on the first packet of an IDR. (Closed)

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

Description

Save width/height of SPS nalus and restore them on the first packet of an IDR. It appears that for some H264 streams that the width/height is not set for the first packet of the IDR but in the packet containing the SPS/PPS. BUG=chromium:698088, webrtc:7139 Review-Url: https://codereview.webrtc.org/2750633003 Cr-Commit-Position: refs/heads/master@{#17239} Committed: https://chromium.googlesource.com/external/webrtc/+/620d75f5befe1387bc457bc3ec5ad0158c4e6697

Patch Set 1 #

Patch Set 2 : More testing. #

Total comments: 10

Patch Set 3 : Feedback #

Patch Set 4 : Save width/height for out of band SPS/PPS. #

Patch Set 5 : Style fix. #

Patch Set 6 : Test fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -1 line) Patch
M webrtc/modules/video_coding/h264_sps_pps_tracker.h View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/h264_sps_pps_tracker.cc View 1 2 3 4 5 chunks +9 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/h264_sps_pps_tracker_unittest.cc View 1 2 3 4 5 3 chunks +32 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (12 generated)
philipel
3 years, 9 months ago (2017-03-13 17:18:07 UTC) #3
stefan-webrtc
https://codereview.webrtc.org/2750633003/diff/20001/webrtc/modules/video_coding/h264_sps_pps_tracker.cc File webrtc/modules/video_coding/h264_sps_pps_tracker.cc (right): https://codereview.webrtc.org/2750633003/diff/20001/webrtc/modules/video_coding/h264_sps_pps_tracker.cc#newcode184 webrtc/modules/video_coding/h264_sps_pps_tracker.cc:184: if (sps_data_[sps_id].width > 0 && sps_data_[sps_id].height) { height > ...
3 years, 9 months ago (2017-03-14 10:32:21 UTC) #7
philipel
https://codereview.webrtc.org/2750633003/diff/20001/webrtc/modules/video_coding/h264_sps_pps_tracker.cc File webrtc/modules/video_coding/h264_sps_pps_tracker.cc (right): https://codereview.webrtc.org/2750633003/diff/20001/webrtc/modules/video_coding/h264_sps_pps_tracker.cc#newcode184 webrtc/modules/video_coding/h264_sps_pps_tracker.cc:184: if (sps_data_[sps_id].width > 0 && sps_data_[sps_id].height) { On 2017/03/14 ...
3 years, 9 months ago (2017-03-14 11:51:12 UTC) #8
stefan-webrtc
https://codereview.webrtc.org/2750633003/diff/20001/webrtc/modules/video_coding/h264_sps_pps_tracker.cc File webrtc/modules/video_coding/h264_sps_pps_tracker.cc (right): https://codereview.webrtc.org/2750633003/diff/20001/webrtc/modules/video_coding/h264_sps_pps_tracker.cc#newcode184 webrtc/modules/video_coding/h264_sps_pps_tracker.cc:184: if (sps_data_[sps_id].width > 0 && sps_data_[sps_id].height) { On 2017/03/14 ...
3 years, 9 months ago (2017-03-14 12:06:37 UTC) #9
philipel
https://codereview.webrtc.org/2750633003/diff/20001/webrtc/modules/video_coding/h264_sps_pps_tracker.cc File webrtc/modules/video_coding/h264_sps_pps_tracker.cc (right): https://codereview.webrtc.org/2750633003/diff/20001/webrtc/modules/video_coding/h264_sps_pps_tracker.cc#newcode184 webrtc/modules/video_coding/h264_sps_pps_tracker.cc:184: if (sps_data_[sps_id].width > 0 && sps_data_[sps_id].height) { On 2017/03/14 ...
3 years, 9 months ago (2017-03-14 13:52:41 UTC) #10
stefan-webrtc
lgtm
3 years, 9 months ago (2017-03-14 17:02:30 UTC) #11
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/2750633003/80001
3 years, 9 months ago (2017-03-15 09:05:34 UTC) #13
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/23088)
3 years, 9 months ago (2017-03-15 09:14:49 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.webrtc.org/2750633003/100001
3 years, 9 months ago (2017-03-15 09:23:48 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://chromium.googlesource.com/external/webrtc/+/620d75f5befe1387bc457bc3ec5ad0158c4e6697
3 years, 9 months ago (2017-03-15 09:51:15 UTC) #22
philipel
3 years, 9 months ago (2017-03-15 14:13:08 UTC) #23
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.webrtc.org/2754543005/ by philipel@webrtc.org.

The reason for reverting is: Breaks build bots..

Powered by Google App Engine
This is Rietveld 408576698