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, |