From dde9a7c10c7a47969109aaac351f4684d62f4371 Mon Sep 17 00:00:00 2001 From: "fischman@chromium.org" Date: Fri, 30 Mar 2012 01:32:58 +0000 Subject: 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 --- media/video/video_decode_accelerator.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'media/video') 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 { 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 -- cgit v1.1