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

Issue 753713002: Remove reliance on VideoToolbox frame ordering. (Closed)

Created:
6 years, 1 month ago by sandersd (OOO until July 31)
Modified:
6 years ago
Reviewers:
*DaleCurtis
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@vt_pic_order
Project:
chromium
Visibility:
Public.

Description

Remove reliance on VideoToolbox frame ordering. It seems that VideoToolbox occasionally reorders frames (in my testing, the fourth one keeps appearing third, and then there are a few more random swaps that stop by around frame 16). This CL makes that a non-fatal error. BUG=133828 Committed: https://crrev.com/4bc4f40ebaf426df2b58f4ab94549c9cc29364a6 Cr-Commit-Position: refs/heads/master@{#305944}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Key by bitstream_id. #

Patch Set 3 : Rebase. #

Patch Set 4 : Fix pointer dereference. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M content/common/gpu/media/vt_video_decode_accelerator.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M content/common/gpu/media/vt_video_decode_accelerator.cc View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 24 (8 generated)
sandersd (OOO until July 31)
6 years, 1 month ago (2014-11-22 00:07:06 UTC) #3
DaleCurtis
https://codereview.chromium.org/753713002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.h File content/common/gpu/media/vt_video_decode_accelerator.h (right): https://codereview.chromium.org/753713002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.h#newcode178 content/common/gpu/media/vt_video_decode_accelerator.h:178: std::map<Frame*, linked_ptr<Frame>> pending_frames_; Why not just an std::set?
6 years, 1 month ago (2014-11-22 00:10:51 UTC) #4
sandersd (OOO until July 31)
The good news is that frames do not seem to be getting silently dropped! https://codereview.chromium.org/753713002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.h ...
6 years, 1 month ago (2014-11-22 00:20:40 UTC) #5
DaleCurtis
https://codereview.chromium.org/753713002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.h File content/common/gpu/media/vt_video_decode_accelerator.h (right): https://codereview.chromium.org/753713002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.h#newcode178 content/common/gpu/media/vt_video_decode_accelerator.h:178: std::map<Frame*, linked_ptr<Frame>> pending_frames_; On 2014/11/22 00:20:40, sandersd wrote: > ...
6 years, 1 month ago (2014-11-22 00:25:06 UTC) #6
sandersd (OOO until July 31)
https://codereview.chromium.org/753713002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.h File content/common/gpu/media/vt_video_decode_accelerator.h (right): https://codereview.chromium.org/753713002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.h#newcode178 content/common/gpu/media/vt_video_decode_accelerator.h:178: std::map<Frame*, linked_ptr<Frame>> pending_frames_; On 2014/11/22 00:25:06, DaleCurtis wrote: > ...
6 years, 1 month ago (2014-11-22 00:32:48 UTC) #7
DaleCurtis
https://codereview.chromium.org/753713002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.h File content/common/gpu/media/vt_video_decode_accelerator.h (right): https://codereview.chromium.org/753713002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.h#newcode178 content/common/gpu/media/vt_video_decode_accelerator.h:178: std::map<Frame*, linked_ptr<Frame>> pending_frames_; On 2014/11/22 00:32:48, sandersd wrote: > ...
6 years, 1 month ago (2014-11-22 00:53:40 UTC) #8
sandersd (OOO until July 31)
https://codereview.chromium.org/753713002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.h File content/common/gpu/media/vt_video_decode_accelerator.h (right): https://codereview.chromium.org/753713002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.h#newcode178 content/common/gpu/media/vt_video_decode_accelerator.h:178: std::map<Frame*, linked_ptr<Frame>> pending_frames_; On 2014/11/22 00:53:40, DaleCurtis wrote: > ...
6 years, 1 month ago (2014-11-22 00:55:50 UTC) #9
DaleCurtis
https://codereview.chromium.org/753713002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.h File content/common/gpu/media/vt_video_decode_accelerator.h (right): https://codereview.chromium.org/753713002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.h#newcode178 content/common/gpu/media/vt_video_decode_accelerator.h:178: std::map<Frame*, linked_ptr<Frame>> pending_frames_; On 2014/11/22 00:55:50, sandersd wrote: > ...
6 years ago (2014-11-25 21:56:20 UTC) #10
DaleCurtis
lgtm, given you intend to refactor this for scopers later.
6 years ago (2014-11-25 22:34:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/753713002/40001
6 years ago (2014-11-27 00:34:14 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/87085)
6 years ago (2014-11-27 00:54:39 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/753713002/60001
6 years ago (2014-11-27 01:01:13 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/2423)
6 years ago (2014-11-27 01:23:06 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/753713002/80001
6 years ago (2014-11-27 01:26:41 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:80001)
6 years ago (2014-11-27 02:08:51 UTC) #23
commit-bot: I haz the power
6 years ago (2014-11-27 02:09:39 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4bc4f40ebaf426df2b58f4ab94549c9cc29364a6
Cr-Commit-Position: refs/heads/master@{#305944}

Powered by Google App Engine
This is Rietveld 408576698