diff options
author | fischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-30 01:32:58 +0000 |
---|---|---|
committer | fischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-30 01:32:58 +0000 |
commit | dde9a7c10c7a47969109aaac351f4684d62f4371 (patch) | |
tree | 69a02308107fc8389c53c36630636809402b98b6 /media/video | |
parent | 9f36d9dfcdff3b243db84fa7772fd69f96ff898a (diff) | |
download | chromium_src-dde9a7c10c7a47969109aaac351f4684d62f4371.zip chromium_src-dde9a7c10c7a47969109aaac351f4684d62f4371.tar.gz chromium_src-dde9a7c10c7a47969109aaac351f4684d62f4371.tar.bz2 |
Replace the unnecessary VDA::Profile typedef with media::VideoCodecProfile
Review URL: http://codereview.chromium.org/9863027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129752 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/video')
-rw-r--r-- | media/video/video_decode_accelerator.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/media/video/video_decode_accelerator.h b/media/video/video_decode_accelerator.h index 623cf1e..5fa0d21 100644 --- a/media/video/video_decode_accelerator.h +++ b/media/video/video_decode_accelerator.h @@ -24,9 +24,6 @@ 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 { @@ -85,7 +82,7 @@ class MEDIA_EXPORT VideoDecodeAccelerator // |profile| is the video stream's format profile. // // Returns true when command successfully accepted. Otherwise false. - virtual bool Initialize(Profile profile) = 0; + virtual bool Initialize(VideoCodecProfile profile) = 0; // Decodes given bitstream buffer. Once decoder is done with processing // |bitstream_buffer| it will call NotifyEndOfBitstreamBuffer() with the |