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

Unified Diff: media/base/pipeline_impl.h

Issue 1935873002: Implement disabling and enabling media tracks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@track-control2
Patch Set: Updated comments + dchecks in ffmpeg demux stream Created 4 years, 7 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/pipeline_impl.h
diff --git a/media/base/pipeline_impl.h b/media/base/pipeline_impl.h
index 3a8a90a0ac58d6914c4a9e49e4f134e9b646da14..49788f10e81063638f083150f0e23034a0ae8792 100644
--- a/media/base/pipeline_impl.h
+++ b/media/base/pipeline_impl.h
@@ -94,6 +94,8 @@ class MEDIA_EXPORT PipelineImpl : public Pipeline,
std::unique_ptr<Renderer> renderer,
Client* client,
const PipelineStatusCB& seek_cb) override;
+ void RestartStreamPlayback(DemuxerStream* stream,
+ base::TimeDelta time) override;
void Stop() override;
void Seek(base::TimeDelta time, const PipelineStatusCB& seek_cb) override;
bool IsRunning() const override;
@@ -164,6 +166,8 @@ class MEDIA_EXPORT PipelineImpl : public Pipeline,
// task runner.
void StartTask();
+ void RestartStreamPlaybackTask(DemuxerStream* stream, base::TimeDelta time);
+
// Suspends the pipeline, discarding the current renderer.
void SuspendTask(const PipelineStatusCB& suspend_cb);

Powered by Google App Engine
This is Rietveld 408576698