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

Unified Diff: media/filters/opus_audio_decoder.cc

Issue 11888011: media: Fix Opus support, and handle bad timestamps correctly in the Opus wrapper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
« media/ffmpeg/ffmpeg_common.cc ('K') | « media/ffmpeg/ffmpeg_common.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/opus_audio_decoder.cc
diff --git a/media/filters/opus_audio_decoder.cc b/media/filters/opus_audio_decoder.cc
index 8837d2c8d935918e6cc3b81c9c1e5883ca965d9c..7e1dd65c49104baae666266c3965366602b0699d 100644
--- a/media/filters/opus_audio_decoder.cc
+++ b/media/filters/opus_audio_decoder.cc
@@ -358,6 +358,7 @@ void OpusAudioDecoder::DoDecodeBuffer(
<< " ts " << input->GetTimestamp().InMicroseconds() << " us"
<< " diff " << diff.InMicroseconds() << " us";
base::ResetAndReturn(&read_cb_).Run(kDecodeError, NULL);
+ return;
fbarchard1 2013/01/15 00:48:36 I've seen this message before, and it sounds bad b
DaleCurtis 2013/01/15 01:00:29 We explicitly forbid this behavior since it has le
fbarchard1 2013/01/15 02:26:50 This behavior still occurs on current/future codec
Tom Finegan 2013/01/15 02:44:51 What do you mean by "a larger aberration"? If this
}
last_input_timestamp_ = input->GetTimestamp();
« media/ffmpeg/ffmpeg_common.cc ('K') | « media/ffmpeg/ffmpeg_common.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698