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

Unified Diff: media/filters/ffmpeg_demuxer.h

Issue 9234066: Detect errors in audio output and report them upstream. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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
Index: media/filters/ffmpeg_demuxer.h
diff --git a/media/filters/ffmpeg_demuxer.h b/media/filters/ffmpeg_demuxer.h
index 66c6ac57d4ee060c730f25737b0af171ab21d669..a1801132449c95be432fc1b276c26f133327951c 100644
--- a/media/filters/ffmpeg_demuxer.h
+++ b/media/filters/ffmpeg_demuxer.h
@@ -261,6 +261,10 @@ class MEDIA_EXPORT FFmpegDemuxer : public Demuxer, public FFmpegURLProtocol {
// is 0.
base::TimeDelta start_time_;
+ // Whether audio has been disabled for this demuxer (in which case this class
+ // drops packets destined for AUDIO demuxer streams on the floor).
+ bool audio_disabled_;
scherkus (not reviewing) 2012/01/26 21:46:13 QQ: this change wasn't mentioned in the CL descrip
Ami GONE FROM CHROMIUM 2012/01/26 22:11:01 Done.
+
DISALLOW_COPY_AND_ASSIGN(FFmpegDemuxer);
};

Powered by Google App Engine
This is Rietveld 408576698