From 956d9ef3e58d85771c18620a1fdf1ca54e16c150 Mon Sep 17 00:00:00 2001 From: "rileya@chromium.org" Date: Fri, 1 Nov 2013 13:08:00 +0000 Subject: Replace VideoFrame::INVALID with UNKNOWN. INVALID was misleading: the usage has more to do with the format being unknown at the time, rather than being invalid. BUG=313827 TBR=danakj Review URL: https://codereview.chromium.org/51343005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232346 0039d316-1c4b-4281-b951-d872f2087c98 --- media/ffmpeg/ffmpeg_common.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'media/ffmpeg') diff --git a/media/ffmpeg/ffmpeg_common.cc b/media/ffmpeg/ffmpeg_common.cc index 72b3125..d1f0950 100644 --- a/media/ffmpeg/ffmpeg_common.cc +++ b/media/ffmpeg/ffmpeg_common.cc @@ -500,7 +500,7 @@ VideoFrame::Format PixelFormatToVideoFormat(PixelFormat pixel_format) { default: DVLOG(1) << "Unsupported PixelFormat: " << pixel_format; } - return VideoFrame::INVALID; + return VideoFrame::UNKNOWN; } PixelFormat VideoFormatToPixelFormat(VideoFrame::Format video_format) { -- cgit v1.1