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); |
}; |