summaryrefslogtreecommitdiffstats
path: root/media/video
diff options
context:
space:
mode:
authormihaip@chromium.org <mihaip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-30 02:18:03 +0000
committermihaip@chromium.org <mihaip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-30 02:18:03 +0000
commit83ffbe78e899544eb86ef9d109e5e7d6096420b4 (patch)
tree3e70eda8fcb40bfc02d37e98f1cdd5d6ff9bc561 /media/video
parent3b93b2391455dd1dcf36f891256a0a37f4ecb6c2 (diff)
downloadchromium_src-83ffbe78e899544eb86ef9d109e5e7d6096420b4.zip
chromium_src-83ffbe78e899544eb86ef9d109e5e7d6096420b4.tar.gz
chromium_src-83ffbe78e899544eb86ef9d109e5e7d6096420b4.tar.bz2
Revert 129752 - Replace the unnecessary VDA::Profile typedef with media::VideoCodecProfile
Review URL: http://codereview.chromium.org/9863027 TBR=fischman@chromium.org Review URL: https://chromiumcodereview.appspot.com/9937008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129765 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/video')
-rw-r--r--media/video/video_decode_accelerator.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/media/video/video_decode_accelerator.h b/media/video/video_decode_accelerator.h
index 5fa0d21..623cf1e 100644
--- a/media/video/video_decode_accelerator.h
+++ b/media/video/video_decode_accelerator.h
@@ -24,6 +24,9 @@ namespace media {
class MEDIA_EXPORT VideoDecodeAccelerator
: public base::RefCountedThreadSafe<VideoDecodeAccelerator> {
public:
+ // TODO(fischman): fix foreign references to this and get rid of this typedef.
+ typedef VideoCodecProfile Profile;
+
// Enumeration of potential errors generated by the API.
// Note: Keep these in sync with PP_VideoDecodeError_Dev.
enum Error {
@@ -82,7 +85,7 @@ class MEDIA_EXPORT VideoDecodeAccelerator
// |profile| is the video stream's format profile.
//
// Returns true when command successfully accepted. Otherwise false.
- virtual bool Initialize(VideoCodecProfile profile) = 0;
+ virtual bool Initialize(Profile profile) = 0;
// Decodes given bitstream buffer. Once decoder is done with processing
// |bitstream_buffer| it will call NotifyEndOfBitstreamBuffer() with the