summaryrefslogtreecommitdiffstats
path: root/media/ffmpeg
diff options
context:
space:
mode:
authorrileya@chromium.org <rileya@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-01 13:08:00 +0000
committerrileya@chromium.org <rileya@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-01 13:08:00 +0000
commit956d9ef3e58d85771c18620a1fdf1ca54e16c150 (patch)
tree82437279f1f44e27f8f7136d1494794d28a0616b /media/ffmpeg
parentd6ec84afaa637fb057ad1cbf5a7c03b02b6a456c (diff)
downloadchromium_src-956d9ef3e58d85771c18620a1fdf1ca54e16c150.zip
chromium_src-956d9ef3e58d85771c18620a1fdf1ca54e16c150.tar.gz
chromium_src-956d9ef3e58d85771c18620a1fdf1ca54e16c150.tar.bz2
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
Diffstat (limited to 'media/ffmpeg')
-rw-r--r--media/ffmpeg/ffmpeg_common.cc2
1 files changed, 1 insertions, 1 deletions
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) {