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

Issue 2292683002: Fix AnnexB header bytes for VideoToolbox (Closed)

Created:
4 years, 3 months ago by emircan
Modified:
4 years, 3 months ago
Reviewers:
tkchin, jfroy, DaleCurtis
CC:
chromium-reviews, feature-media-reviews_chromium.org, posciak+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix AnnexB header bytes for VideoToolbox This CL addresses the bug where we see iOS HW decoder dropping most of the frames in a H264 connection with OSX HW encoder. There is a mismatch between the header bytes of these two implementations. iOS expect a 4 bytes header whereas currently 3 bytes are written by OSX encoder. Making them both based on 4 bytes fixes the dropped frames issue. [0] https://cs.chromium.org/chromium/src/third_party/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc?rcl=0&l=345 BUG=webrtc:5931 TEST= Tested H264 connection between Macbook Air and iOS. Committed: https://crrev.com/885d82bc302b12ae7dc97db6a8c43fd5ffcf277c Cr-Commit-Position: refs/heads/master@{#415376}

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M media/base/mac/videotoolbox_helpers.cc View 4 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 26 (17 generated)
emircan
PTAL.
4 years, 3 months ago (2016-08-29 20:49:51 UTC) #7
emircan
Note that we should also modify WebRTC standalone's H264 parser to handle both 0001 and ...
4 years, 3 months ago (2016-08-29 21:09:16 UTC) #10
tkchin
On 2016/08/29 21:09:16, emircan wrote: > Note that we should also modify WebRTC standalone's H264 ...
4 years, 3 months ago (2016-08-29 21:15:53 UTC) #12
emircan
On 2016/08/29 21:15:53, tkchin wrote: > On 2016/08/29 21:09:16, emircan wrote: > > Note that ...
4 years, 3 months ago (2016-08-29 21:25:36 UTC) #14
emircan
dalecurtis@, can you PTAL as RS OWNERS?
4 years, 3 months ago (2016-08-29 21:26:25 UTC) #16
DaleCurtis
lgtm
4 years, 3 months ago (2016-08-30 18:24:32 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/2292683002/20001
4 years, 3 months ago (2016-08-30 18:46:04 UTC) #22
commit-bot: I haz the power
Committed patchset #1 (id:20001)
4 years, 3 months ago (2016-08-30 18:51:42 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 18:54:19 UTC) #26
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/885d82bc302b12ae7dc97db6a8c43fd5ffcf277c
Cr-Commit-Position: refs/heads/master@{#415376}

Powered by Google App Engine
This is Rietveld 408576698