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

Issue 2281843002: Refactor stream selection for seeking in FFmpegDemuxer (Closed)

Created:
4 years, 3 months ago by servolk
Modified:
4 years, 3 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

Refactor stream selection for seeking in FFmpegDemuxer The current logic is not taking into account that streams can be disabled and is heavily tied to the assumption of max 1 audio/video stream. This refactoring strives to preserve the original logic as much as possible, but also disregards disabled streams when searching for the preferred seeking stream, and generalizes that logic to potentially handle multiple audio/video streams. BUG=641451 Committed: https://crrev.com/ed5b4e1fde34046c1f5365b30ff3b4bee7fbc4b4 Cr-Commit-Position: refs/heads/master@{#414836}

Patch Set 1 #

Total comments: 4

Patch Set 2 : CR feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -52 lines) Patch
M media/filters/ffmpeg_demuxer.h View 3 chunks +11 lines, -10 lines 0 comments Download
M media/filters/ffmpeg_demuxer.cc View 1 6 chunks +55 lines, -39 lines 0 comments Download
M media/filters/ffmpeg_demuxer_unittest.cc View 2 chunks +45 lines, -3 lines 0 comments Download

Messages

Total messages: 25 (19 generated)
servolk
4 years, 3 months ago (2016-08-26 15:31:55 UTC) #8
DaleCurtis
lgtm, want to give it a bug since this missed m54 cut? https://codereview.chromium.org/2281843002/diff/1/media/filters/ffmpeg_demuxer.cc File media/filters/ffmpeg_demuxer.cc ...
4 years, 3 months ago (2016-08-26 18:21:56 UTC) #12
servolk
Fixed both comments + opened crbug.com/641451 https://codereview.chromium.org/2281843002/diff/1/media/filters/ffmpeg_demuxer.cc File media/filters/ffmpeg_demuxer.cc (right): https://codereview.chromium.org/2281843002/diff/1/media/filters/ffmpeg_demuxer.cc#newcode1481 media/filters/ffmpeg_demuxer.cc:1481: if (video_stream && ...
4 years, 3 months ago (2016-08-26 19:08:44 UTC) #16
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/2281843002/20001
4 years, 3 months ago (2016-08-26 20:34:09 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-08-26 22:38:46 UTC) #23
commit-bot: I haz the power
4 years, 3 months ago (2016-08-26 22:41:11 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ed5b4e1fde34046c1f5365b30ff3b4bee7fbc4b4
Cr-Commit-Position: refs/heads/master@{#414836}

Powered by Google App Engine
This is Rietveld 408576698