DescriptionStop 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 #
Messages
Total messages: 8 (4 generated)
|