diff options
author | fbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-26 19:04:42 +0000 |
---|---|---|
committer | fbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-26 19:04:42 +0000 |
commit | 1394ee6fa605f013778ea83ad50d57105cf03738 (patch) | |
tree | 0fcf4ef0f497b74cedbf25f98485b2abec63b297 /media | |
parent | 4d51d5bf2d7f19aacb08fe0315de66e8c7fd4c76 (diff) | |
download | chromium_src-1394ee6fa605f013778ea83ad50d57105cf03738.zip chromium_src-1394ee6fa605f013778ea83ad50d57105cf03738.tar.gz chromium_src-1394ee6fa605f013778ea83ad50d57105cf03738.tar.bz2 |
ffmpeg seek to keyframe on ogg
BUG=none
TEST=do a seek in chrome on ogg. it should appear clean, not garbled.
Review URL: http://codereview.chromium.org/3043021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53656 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r-- | media/filters/ffmpeg_demuxer.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/media/filters/ffmpeg_demuxer.cc b/media/filters/ffmpeg_demuxer.cc index 951e6b5..9a088ac 100644 --- a/media/filters/ffmpeg_demuxer.cc +++ b/media/filters/ffmpeg_demuxer.cc @@ -498,10 +498,6 @@ void FFmpegDemuxer::SeekTask(base::TimeDelta time, FilterCallback* callback) { // Always seek to a timestamp less than or equal to the desired timestamp. int flags = AVSEEK_FLAG_BACKWARD; - // Explicitly set the behavior of Ogg to be able to seek to any frame. - if (!strcmp("ogg", format_context_->iformat->name)) - flags |= AVSEEK_FLAG_ANY; - // Passing -1 as our stream index lets FFmpeg pick a default stream. FFmpeg // will attempt to use the lowest-index video stream, if present, followed by // the lowest-index audio stream. |