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

Issue 2011353003: H264POC: Re-compute PicOrderCnt for duplicate frame_nums. (Closed)

Created:
4 years, 6 months ago by sandersd (OOO until July 31)
Modified:
4 years, 6 months ago
Reviewers:
DaleCurtis
CC:
chromium-reviews, feature-media-reviews_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

H264POC: Re-compute PicOrderCnt for duplicate frame_nums. Some videos violate the H.264 spec by having sequential frames with the same |frame_num|. This CL changes H264POC to match the behavior of H264Decoder in that case. BUG=615289 Committed: https://crrev.com/f9178e0325ced73b38cc89e000fcc0703301f092 Cr-Commit-Position: refs/heads/master@{#397633}

Patch Set 1 #

Patch Set 2 : Unittest. #

Total comments: 6

Patch Set 3 : Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -18 lines) Patch
M media/video/h264_poc.h View 1 chunk +0 lines, -1 line 0 comments Download
M media/video/h264_poc.cc View 1 2 7 chunks +8 lines, -17 lines 0 comments Download
M media/video/h264_poc_unittest.cc View 1 2 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
sandersd (OOO until July 31)
4 years, 6 months ago (2016-05-27 19:19:11 UTC) #2
DaleCurtis
Either add a test or comment explaining why you reverted this behavior with links to ...
4 years, 6 months ago (2016-05-27 19:30:02 UTC) #3
sandersd (OOO until July 31)
On 2016/05/27 19:30:02, DaleCurtis wrote: > Either add a test or comment explaining why you ...
4 years, 6 months ago (2016-06-02 18:23:04 UTC) #4
DaleCurtis
lgtm % comment changes. https://codereview.chromium.org/2011353003/diff/20001/media/video/h264_poc_unittest.cc File media/video/h264_poc_unittest.cc (right): https://codereview.chromium.org/2011353003/diff/20001/media/video/h264_poc_unittest.cc#newcode195 media/video/h264_poc_unittest.cc:195: // Despite being invalid, videos ...
4 years, 6 months ago (2016-06-02 18:53:02 UTC) #5
DaleCurtis
https://codereview.chromium.org/2011353003/diff/20001/media/video/h264_poc.cc File media/video/h264_poc.cc (left): https://codereview.chromium.org/2011353003/diff/20001/media/video/h264_poc.cc#oldcode66 media/video/h264_poc.cc:66: if (!slice_hdr.idr_pic_flag && slice_hdr.frame_num == prev_frame_num_) { Up to ...
4 years, 6 months ago (2016-06-02 18:54:05 UTC) #6
sandersd (OOO until July 31)
https://codereview.chromium.org/2011353003/diff/20001/media/video/h264_poc.cc File media/video/h264_poc.cc (left): https://codereview.chromium.org/2011353003/diff/20001/media/video/h264_poc.cc#oldcode66 media/video/h264_poc.cc:66: if (!slice_hdr.idr_pic_flag && slice_hdr.frame_num == prev_frame_num_) { On 2016/06/02 ...
4 years, 6 months ago (2016-06-02 18:58:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2011353003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2011353003/40001
4 years, 6 months ago (2016-06-02 19:00:45 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/232635)
4 years, 6 months ago (2016-06-03 02:14:53 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2011353003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2011353003/40001
4 years, 6 months ago (2016-06-03 02:26:00 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-03 04:43:30 UTC) #15
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 04:45:04 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f9178e0325ced73b38cc89e000fcc0703301f092
Cr-Commit-Position: refs/heads/master@{#397633}

Powered by Google App Engine
This is Rietveld 408576698