summaryrefslogtreecommitdiffstats
path: root/media/video
diff options
context:
space:
mode:
authoracolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-01 14:18:55 +0000
committeracolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-01 14:18:55 +0000
commitb8b9d30cc9a9fb93ffa6a301bcec79ed85239c4a (patch)
tree7feb05a189dc3c5781563ecc7798cf7ee3ad6126 /media/video
parentddbd222c8dd1e08fb993b42adfc5159841755266 (diff)
downloadchromium_src-b8b9d30cc9a9fb93ffa6a301bcec79ed85239c4a.zip
chromium_src-b8b9d30cc9a9fb93ffa6a301bcec79ed85239c4a.tar.gz
chromium_src-b8b9d30cc9a9fb93ffa6a301bcec79ed85239c4a.tar.bz2
Create helper methods to process FFmpeg index data.
BUG=none TEST=FFmpegCommonTest Review URL: http://codereview.chromium.org/6708130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80153 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/video')
-rw-r--r--media/video/ffmpeg_video_decode_engine.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/video/ffmpeg_video_decode_engine.cc b/media/video/ffmpeg_video_decode_engine.cc
index 18397e5..f9a1996 100644
--- a/media/video/ffmpeg_video_decode_engine.cc
+++ b/media/video/ffmpeg_video_decode_engine.cc
@@ -295,7 +295,7 @@ void FFmpegVideoDecodeEngine::DecodeFrame(scoped_refptr<Buffer> buffer) {
base::TimeDelta timestamp =
base::TimeDelta::FromMicroseconds(av_frame_->reordered_opaque);
base::TimeDelta duration =
- ConvertTimestamp(doubled_time_base, 2 + av_frame_->repeat_pict);
+ ConvertFromTimeBase(doubled_time_base, 2 + av_frame_->repeat_pict);
if (!direct_rendering_) {
// Available frame is guaranteed, because we issue as much reads as