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

Issue 898843002: Use cached Key frames to avoid browser seek (Closed)

Created:
5 years, 10 months ago by qinmin
Modified:
5 years, 10 months ago
Reviewers:
wolenetz
CC:
chromium-reviews, posciak+watch_chromium.org, wjia+watch_chromium.org, avayvod+watch_chromium.org, mcasas+watch_chromium.org, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use cached Key frames to avoid browser seek This change allows MediaSourcePlayer to skip browser seek if a key frame is found in cache. Key frames can be identified by an empty data buffer, a config change or is_key_frame field. BUG=304234 Committed: https://crrev.com/ae2b37fe7550f276ccf01d84cb88b2cb913d441e Cr-Commit-Position: refs/heads/master@{#314699}

Patch Set 1 #

Total comments: 6

Patch Set 2 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -93 lines) Patch
M media/base/android/audio_decoder_job.h View 1 chunk +1 line, -1 line 0 comments Download
M media/base/android/audio_decoder_job.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M media/base/android/media_decoder_job.h View 1 4 chunks +26 lines, -17 lines 0 comments Download
M media/base/android/media_decoder_job.cc View 7 chunks +39 lines, -15 lines 0 comments Download
M media/base/android/media_source_player.cc View 1 2 chunks +32 lines, -24 lines 0 comments Download
M media/base/android/media_source_player_unittest.cc View 1 3 chunks +35 lines, -1 line 0 comments Download
M media/base/android/video_decoder_job.h View 3 chunks +1 line, -12 lines 0 comments Download
M media/base/android/video_decoder_job.cc View 4 chunks +10 lines, -19 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
qinmin
PTAL
5 years, 10 months ago (2015-02-04 03:30:27 UTC) #2
wolenetz
Mostly nits. Also, why is the std::min used in SetCurrentFrameToPreviouslyCachedKeyFrame()? I'm also curious: where is ...
5 years, 10 months ago (2015-02-04 21:07:23 UTC) #3
qinmin
For SetCurrentFrameToPreviouslyCachedKeyFrame(), I use std::min() because the access_unit_index can be equal to the size of ...
5 years, 10 months ago (2015-02-04 23:11:23 UTC) #4
wolenetz
lgtm
5 years, 10 months ago (2015-02-04 23:59:20 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/898843002/20001
5 years, 10 months ago (2015-02-05 00:03:56 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-05 00:59:45 UTC) #8
commit-bot: I haz the power
5 years, 10 months ago (2015-02-05 01:00:59 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ae2b37fe7550f276ccf01d84cb88b2cb913d441e
Cr-Commit-Position: refs/heads/master@{#314699}

Powered by Google App Engine
This is Rietveld 408576698