Don't attempt to enable non-existant placeholder tracks.
The media pipeline does not expect to be called about track changes prior to HaveCurrentData. There's also no reason for the element to create disabled video+audio tracks and then tell the renderer to enable those very same non-existant tracks. Just create them as enabled instead. It's possible we can remove even the creation of placeholder tracks, but that's a bigger web facing change, so I don't want to hold up this bug fix on that analysis. BUG=873837 TEST=new unittest, twitter videos no longer hang. Change-Id: I9863ae4feca29a58140e6dad1532bc8b7a380c3b Reviewed-on: https://chromium-review.googlesource.com/1180347 Commit-Queue: Dale Curtis <dalecurtis@chromium.org> Reviewed-by:Mounir Lamouri <mlamouri@chromium.org> Cr-Commit-Position: refs/heads/master@{#585334}
Showing
Please register or sign in to comment