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

Unified Diff: trunk/src/media/filters/opus_audio_decoder.h

Issue 242203006: Revert 264763 "Wire up codec_delay() to MP3StreamParser and FFmp..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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 | « trunk/src/media/filters/ffmpeg_audio_decoder.cc ('k') | trunk/src/media/filters/opus_audio_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/media/filters/opus_audio_decoder.h
===================================================================
--- trunk/src/media/filters/opus_audio_decoder.h (revision 264802)
+++ trunk/src/media/filters/opus_audio_decoder.h (working copy)
@@ -66,10 +66,16 @@
// happens.
int frames_to_discard_;
- // When the input timestamp is |start_input_timestamp_| the decoder needs to
- // drop |config_.codec_delay()| frames.
+ // Number of frames to be discarded at the start of the stream. This value
+ // is typically the CodecDelay value from the container. This value should
+ // only be applied when input timestamp is |start_input_timestamp_|.
+ int frame_delay_at_start_;
base::TimeDelta start_input_timestamp_;
+ // Timestamp to be subtracted from all the frames. This is typically computed
+ // from the CodecDelay value in the container.
+ base::TimeDelta timestamp_offset_;
+
DISALLOW_IMPLICIT_CONSTRUCTORS(OpusAudioDecoder);
};
« no previous file with comments | « trunk/src/media/filters/ffmpeg_audio_decoder.cc ('k') | trunk/src/media/filters/opus_audio_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698