Chromium Code Reviews
DescriptionUpdate StreamTextureProxy to accept a base::Closure
StreamTextureProxy (STP) is currently tightly coupled to the
VideoFrameProvider::Client (VFP::C). This forces classes that use STP to
be aware of the VFP::C, and forces them to include files from cc/layers.
This change updates STP to accept a custom callback to be triggered when
the STP's OnFrameAvailable() is signaled. It also moves
StreamTextureWrapper from media/blink to media/base/android, now that it
no longer needs to include cc/layers/video_frame_provider.h.
TEST= Made sure we could still use WMPA (opened an HLS stream on an
android device)
BUG=631178
Committed: https://crrev.com/f4d502c5ec011e3b5b3aea1669b1d6149d5b9aed
Cr-Commit-Position: refs/heads/master@{#409100}
Patch Set 1 #Patch Set 2 : Fixed comments #Patch Set 3 : Fixed include guards #
Total comments: 26
Patch Set 4 : Addressing comments #
Total comments: 2
Patch Set 5 : Addressing comments #Messages
Total messages: 12 (4 generated)
|