summaryrefslogtreecommitdiffstats
path: root/media/base/media_format.h
diff options
context:
space:
mode:
authorjiesun@google.com <jiesun@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-23 00:54:59 +0000
committerjiesun@google.com <jiesun@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-23 00:54:59 +0000
commit36bfbcb2eeca4ad0c72525fb8469d5214679d626 (patch)
tree01a35b1c24e3a0a5e32586da97c23c6fb06a6faf /media/base/media_format.h
parent69e248cdb27c449d37ddac21058751c322c38dd2 (diff)
downloadchromium_src-36bfbcb2eeca4ad0c72525fb8469d5214679d626.zip
chromium_src-36bfbcb2eeca4ad0c72525fb8469d5214679d626.tar.gz
chromium_src-36bfbcb2eeca4ad0c72525fb8469d5214679d626.tar.bz2
code cleanup for media code for video renerers.
add more generic surface format and surface type signalling from video decoder to video renderer. if we want to allocate buffer in renderer, we had to know these kind of information. remove redundant ParseMediaFormat and duplicated width,height, egl_image_supports in derived class of VideoRenderBase. Review URL: http://codereview.chromium.org/2829009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50558 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/media_format.h')
-rw-r--r--media/base/media_format.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/base/media_format.h b/media/base/media_format.h
index 3a7cb3d..8b9cdb0 100644
--- a/media/base/media_format.h
+++ b/media/base/media_format.h
@@ -47,6 +47,7 @@ class MediaFormat {
// Common keys.
static const char kMimeType[];
static const char kURL[];
+ static const char kSurfaceType[];
static const char kSurfaceFormat[];
static const char kSampleRate[];
static const char kSampleBits[];