Chromium Code Reviews
DescriptionMore media::PipelineImpl cleanup, this time focusing on not taking down the render process.
Specifically, if the pipeline hasn't started we should fail gracefully and not DCHECK. Volume and playback rate are now allowed to be set if the pipeline isn't running, and filters will now receive a call to SetVolume() and SetPlaybackRate() with the initial values when the pipeline has fully initialized.
Added tests and expectations for all of this and ran valgrind to verify that we were indeed leaking memory (now fixed).
BUG=16009, 13902
TEST=media_unittests, layout tests
Patch Set 1 #Patch Set 2 : Cleanup #
Total comments: 3
Messages
Total messages: 3 (0 generated)
|
|||||||||||||||||||||||||||||||||||||