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

Unified Diff: trunk/src/media/base/filter_collection.h

Issue 14320005: Revert 194993 "Remove reference counting from media::VideoDecode..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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 | trunk/src/media/base/filter_collection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/media/base/filter_collection.h
===================================================================
--- trunk/src/media/base/filter_collection.h (revision 195011)
+++ trunk/src/media/base/filter_collection.h (working copy)
@@ -5,6 +5,8 @@
#ifndef MEDIA_BASE_FILTER_COLLECTION_H_
#define MEDIA_BASE_FILTER_COLLECTION_H_
+#include <list>
+
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "media/base/media_export.h"
@@ -13,6 +15,7 @@
class AudioRenderer;
class Demuxer;
+class VideoDecoder;
class VideoRenderer;
// Represents a set of uninitialized demuxer and audio/video decoders and
@@ -22,6 +25,8 @@
// http://crbug.com/110800
class MEDIA_EXPORT FilterCollection {
public:
+ typedef std::list<scoped_refptr<VideoDecoder> > VideoDecoderList;
+
FilterCollection();
~FilterCollection();
@@ -34,8 +39,11 @@
void SetVideoRenderer(scoped_ptr<VideoRenderer> video_renderer);
scoped_ptr<VideoRenderer> GetVideoRenderer();
+ VideoDecoderList* GetVideoDecoders();
+
private:
scoped_refptr<Demuxer> demuxer_;
+ VideoDecoderList video_decoders_;
scoped_ptr<AudioRenderer> audio_renderer_;
scoped_ptr<VideoRenderer> video_renderer_;
Property changes on: trunk/src/media/base/filter_collection.h
___________________________________________________________________
Deleted: svn:mergeinfo
« no previous file with comments | « no previous file | trunk/src/media/base/filter_collection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698