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

Issue 2930333004: Stop assuming metadata contains at least one stream (Closed)

Created:
3 years, 6 months ago by wdzierzanowski
Modified:
3 years, 6 months ago
Reviewers:
DaleCurtis
CC:
apacible+watch_chromium.org, chromium-reviews, erickung+watch_chromium.org, feature-media-reviews_chromium.org, mfoltz+watch_chromium.org, miu+watch_chromium.org, xjz+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Stop assuming metadata contains at least one stream It is valid for a media::Demuxer implementation to provide 0 streams in GetAllStreams(). In this case, the metadata built by PipelineImpl is empty too. This should be handled, just like PipelineImpl already handles absence of streams with PIPELINE_ERROR_COULD_NOT_RENDER. TEST=media_blink_unittests Review-Url: https://codereview.chromium.org/2930333004 Cr-Commit-Position: refs/heads/master@{#479066} Committed: https://chromium.googlesource.com/chromium/src/+/a78fa9bff9f98f927593982384e8e56cbcd0a43c

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M media/blink/webmediaplayer_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M media/blink/webmediaplayer_impl_unittest.cc View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (4 generated)
wdzierzanowski
Hi! This came up while implementing a new media::Demuxer. There's this small inconsistency regarding the ...
3 years, 6 months ago (2017-06-13 11:52:56 UTC) #2
DaleCurtis
Nice catch, lgtm!
3 years, 6 months ago (2017-06-13 15:47:11 UTC) #3
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/2930333004/1
3 years, 6 months ago (2017-06-13 15:47:36 UTC) #5
commit-bot: I haz the power
3 years, 6 months ago (2017-06-13 18:12:27 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/a78fa9bff9f98f927593982384e8...

Powered by Google App Engine
This is Rietveld 408576698