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

Unified Diff: media/filters/ffmpeg_demuxer.h

Issue 2836173002: Set FFmpeg AVStream discard on FFmpeg task runner thread (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | media/filters/ffmpeg_demuxer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/ffmpeg_demuxer.h
diff --git a/media/filters/ffmpeg_demuxer.h b/media/filters/ffmpeg_demuxer.h
index b81a13d51584581b430801f9a3d6634a7da6c5da..bd223ab9ccb8c5fb115e67bd409bd5d80d1bb65c 100644
--- a/media/filters/ffmpeg_demuxer.h
+++ b/media/filters/ffmpeg_demuxer.h
@@ -253,6 +253,11 @@ class MEDIA_EXPORT FFmpegDemuxer : public Demuxer {
// timeline.
base::TimeDelta start_time() const { return start_time_; }
+ // Task runner used to execute blocking FFmpeg operations.
+ scoped_refptr<base::SequencedTaskRunner> ffmpeg_task_runner() {
+ return blocking_task_runner_;
+ }
+
private:
// To allow tests access to privates.
friend class FFmpegDemuxerTest;
« no previous file with comments | « no previous file | media/filters/ffmpeg_demuxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698