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

Unified Diff: chromecast/media/cma/pipeline/av_pipeline_impl.h

Issue 987513006: Chromecast: fixes crash in AvPipelineImpl teardown. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changes Finalize signature (not a build failure on arm...) Created 5 years, 10 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: chromecast/media/cma/pipeline/av_pipeline_impl.h
diff --git a/chromecast/media/cma/pipeline/av_pipeline_impl.h b/chromecast/media/cma/pipeline/av_pipeline_impl.h
index 19b8498ce789d0d9ffdb740de4d46c1056418e0b..7c917ae521030e40c7771142a336b2d7e3815555 100644
--- a/chromecast/media/cma/pipeline/av_pipeline_impl.h
+++ b/chromecast/media/cma/pipeline/av_pipeline_impl.h
@@ -59,6 +59,10 @@ class AvPipelineImpl : public base::RefCountedThreadSafe<AvPipelineImpl> {
// Initialize the pipeline.
bool Initialize();
+ // Destroy the pipeline. No other calls into AvPipelineImpl must be made
+ // after this.
+ void Finalize();
+
// Setup the pipeline and ensure samples are available for the given media
// time, then start rendering samples.
bool StartPlayingFrom(base::TimeDelta time,
« no previous file with comments | « chromecast/media/cma/pipeline/audio_pipeline_impl.cc ('k') | chromecast/media/cma/pipeline/av_pipeline_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698