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

Issue 2434383003: Handle duplicate media track ids in FFmpegDemuxer (Closed)

Created:
4 years, 2 months ago by servolk
Modified:
4 years, 2 months ago
Reviewers:
DaleCurtis
CC:
chromium-reviews, feature-media-reviews_chromium.org, posciak+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle duplicate media track ids in FFmpegDemuxer Previously we would just crash due to CHECK when we detected media streams with duplicate bytestream ids. This CL adds explicit checks for duplicate stream ids in FFmpegDemuxer and skips those streams. BUG=657437 Committed: https://crrev.com/41ecabf2dc6286a0cc529cfe50eabe44c3a56c54 Cr-Commit-Position: refs/heads/master@{#426840}

Patch Set 1 #

Patch Set 2 : Added a unit test #

Patch Set 3 : Stream ids must be unique only per-stream-type #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
M media/filters/ffmpeg_demuxer.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M media/filters/ffmpeg_demuxer_unittest.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
A media/test/data/crbug657437.mp4 View 1 Binary file 0 comments Download

Messages

Total messages: 29 (18 generated)
servolk
4 years, 2 months ago (2016-10-20 22:22:45 UTC) #5
DaleCurtis
lgtm, a test would be nice if possible.
4 years, 2 months ago (2016-10-20 22:24:58 UTC) #7
servolk
On 2016/10/20 22:24:58, DaleCurtis wrote: > lgtm, a test would be nice if possible. I'm ...
4 years, 2 months ago (2016-10-20 23:01:31 UTC) #10
DaleCurtis
lgtm
4 years, 2 months ago (2016-10-20 23:08:24 UTC) #13
servolk
On 2016/10/20 23:08:24, DaleCurtis wrote: > lgtm Oops, sorry, I've looked at trybot failures and ...
4 years, 2 months ago (2016-10-21 03:08:24 UTC) #18
DaleCurtis
Is it okay to overwrite an invalid entry? Or are there no entries that are ...
4 years, 2 months ago (2016-10-21 17:13:31 UTC) #21
servolk
On 2016/10/21 17:13:31, DaleCurtis wrote: > Is it okay to overwrite an invalid entry? Or ...
4 years, 2 months ago (2016-10-21 17:24:16 UTC) #22
DaleCurtis
lgtm
4 years, 2 months ago (2016-10-21 17:27:50 UTC) #23
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/2434383003/40001
4 years, 2 months ago (2016-10-21 17:29:30 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-21 18:06:02 UTC) #27
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 18:11:54 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/41ecabf2dc6286a0cc529cfe50eabe44c3a56c54
Cr-Commit-Position: refs/heads/master@{#426840}

Powered by Google App Engine
This is Rietveld 408576698