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

Unified Diff: media/base/filter_collection.h

Issue 5612004: Web media player pipeline: implemented feature to choose proper... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 10 years 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/base/filter_collection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/filter_collection.h
===================================================================
--- media/base/filter_collection.h (revision 68165)
+++ media/base/filter_collection.h (working copy)
@@ -37,7 +37,8 @@
// If a filter is returned it is removed from the collection.
void SelectDataSource(scoped_refptr<DataSource>* filter_out);
void SelectDemuxer(scoped_refptr<Demuxer>* filter_out);
- void SelectVideoDecoder(scoped_refptr<VideoDecoder>* filter_out);
+ void SelectVideoDecoder(scoped_refptr<VideoDecoder>* filter_out,
+ int codec_id);
void SelectAudioDecoder(scoped_refptr<AudioDecoder>* filter_out);
void SelectVideoRenderer(scoped_refptr<VideoRenderer>* filter_out);
void SelectAudioRenderer(scoped_refptr<AudioRenderer>* filter_out);
@@ -66,10 +67,12 @@
// Helper function for SelectXXX() methods. It manages the
// downcasting and mapping between FilterType and Filter class.
template<FilterType filter_type, typename F>
- void SelectFilter(scoped_refptr<F>* filter_out);
+ void SelectFilter(scoped_refptr<F>* filter_out, void *filter_props);
- // Helper function that searches the filters list for a specific filter type.
- void SelectFilter(FilterType filter_type, scoped_refptr<Filter>* filter_out);
+ // Helper function that searches the filters list for a specific filter type
+ // and filter properties.
+ void SelectFilter(FilterType filter_type, scoped_refptr<Filter>* filter_out,
+ void *filter_props);
DISALLOW_COPY_AND_ASSIGN(FilterCollection);
};
« no previous file with comments | « no previous file | media/base/filter_collection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698