summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webvideoframe_impl.h
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-28 22:16:07 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-28 22:16:07 +0000
commit0e4da3d4aa6d804fb55d798a439603d020847caf (patch)
treeeb88da65440a642f011bd3253db6de68259a2bd2 /webkit/glue/webvideoframe_impl.h
parentf8f1a565e576fa56543147393c1a8269fe6a82e2 (diff)
downloadchromium_src-0e4da3d4aa6d804fb55d798a439603d020847caf.zip
chromium_src-0e4da3d4aa6d804fb55d798a439603d020847caf.tar.gz
chromium_src-0e4da3d4aa6d804fb55d798a439603d020847caf.tar.bz2
Access texture in a WebVideoFrame
Provide getters for accessing textures in a WebVideoFrame BUG=53714 TEST=None Review URL: http://codereview.chromium.org/3472020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60852 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webvideoframe_impl.h')
-rw-r--r--webkit/glue/webvideoframe_impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/webvideoframe_impl.h b/webkit/glue/webvideoframe_impl.h
index 6dc9cde..dfaac03 100644
--- a/webkit/glue/webvideoframe_impl.h
+++ b/webkit/glue/webvideoframe_impl.h
@@ -25,6 +25,7 @@ class WebVideoFrameImpl : public WebVideoFrame {
virtual unsigned planes() const;
virtual int stride(unsigned plane) const;
virtual const void* data(unsigned plane) const;
+ virtual unsigned texture(unsigned plane) const;
private:
scoped_refptr<media::VideoFrame> video_frame_;