diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-15 17:44:32 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-15 17:44:32 +0000 |
commit | 75e145a8f1304b8b16490f4a43b65764df264471 (patch) | |
tree | d18f45a2de5993031b99917b19c1a337adf3bbe1 /media/tools | |
parent | fdd7f8589d39672f556d79bc8c95d021fd8f088f (diff) | |
download | chromium_src-75e145a8f1304b8b16490f4a43b65764df264471.zip chromium_src-75e145a8f1304b8b16490f4a43b65764df264471.tar.gz chromium_src-75e145a8f1304b8b16490f4a43b65764df264471.tar.bz2 |
Migrate VideoDecoder::HasAlpha() and associated plumbing into VideoFrameCompositor.
Opacity can be derived by inspecting the format of the video frames as they pass through VideoFrameCompositor. Similar to changes in natural size, changes in opacity are now detected.
Finally, make the call directly to WebLayerImpl instead of plumbing values through HTMLMediaElement.
BUG=110814
Review URL: https://codereview.chromium.org/235933012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263906 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/tools')
-rw-r--r-- | media/tools/player_x11/player_x11.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/media/tools/player_x11/player_x11.cc b/media/tools/player_x11/player_x11.cc index 0cec7b82..d71cd1a 100644 --- a/media/tools/player_x11/player_x11.cc +++ b/media/tools/player_x11/player_x11.cc @@ -79,9 +79,6 @@ bool InitX11() { return true; } -void SetOpaque(bool /*opaque*/) { -} - typedef base::Callback<void(media::VideoFrame*)> PaintCB; void Paint(base::MessageLoop* message_loop, const PaintCB& paint_cb, const scoped_refptr<media::VideoFrame>& video_frame) { @@ -132,7 +129,6 @@ void InitPipeline( video_decoders.Pass(), media::SetDecryptorReadyCB(), base::Bind(&Paint, paint_message_loop, paint_cb), - base::Bind(&SetOpaque), true)); collection->SetVideoRenderer(video_renderer.Pass()); |