Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(893)

Unified Diff: media/filters/ffmpeg_audio_decoder.h

Issue 165482: Merge 23038 - Updated decode logic to estimate timestamps if the demuxer has ... (Closed) Base URL: svn://chrome-svn/chrome/branches/195/src/
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/filters/ffmpeg_audio_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/ffmpeg_audio_decoder.h
===================================================================
--- media/filters/ffmpeg_audio_decoder.h (revision 23353)
+++ media/filters/ffmpeg_audio_decoder.h (working copy)
@@ -26,6 +26,8 @@
protected:
virtual bool OnInitialize(DemuxerStream* demuxer_stream);
+ virtual void OnSeek(base::TimeDelta time);
+
virtual void OnStop();
virtual void OnDecode(Buffer* input);
@@ -43,6 +45,9 @@
// is initialized in OnInitialize().
AVCodecContext* codec_context_;
+ // Estimated timestamp for next packet. Useful for packets without timestamps.
+ base::TimeDelta estimated_next_timestamp_;
+
// Data buffer to carry decoded raw PCM samples. This buffer is created by
// av_malloc() and is used throughout the lifetime of this class.
scoped_ptr_malloc<uint8, ScopedPtrAVFree> output_buffer_;
Property changes on: media\filters\ffmpeg_audio_decoder.h
___________________________________________________________________
Added: svn:mergeinfo
Merged /trunk/src/media/filters/ffmpeg_audio_decoder.h:r23038
Merged /branches/chrome_webkit_merge_branch/media/filters/ffmpeg_audio_decoder.h:r69-2775
« no previous file with comments | « no previous file | media/filters/ffmpeg_audio_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698