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

Unified Diff: media/base/android/media_decoder_job.h

Issue 257323003: Remove the IPC to request DemuxerConfigs when config changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
Index: media/base/android/media_decoder_job.h
diff --git a/media/base/android/media_decoder_job.h b/media/base/android/media_decoder_job.h
index 9dbbd00fceaba8c1a222fabfd6e95c0fce8749b1..f2ec3c56f40c4be335ce6f74f31eb694cb470777 100644
--- a/media/base/android/media_decoder_job.h
+++ b/media/base/android/media_decoder_job.h
@@ -78,6 +78,10 @@ class MediaDecoderJob {
// Enter prerolling state. The job must not currently be decoding.
void BeginPrerolling(base::TimeDelta preroll_timestamp);
+ // Returns the demuxer config if the |received_data_| has it, or NULL
+ // otherwise.
+ DemuxerConfigs* GetDemuxerConfigs();
+
bool prerolling() const { return prerolling_; }
bool is_decoding() const { return !decode_cb_.is_null(); }

Powered by Google App Engine
This is Rietveld 408576698