Index: media/base/pipeline_impl.h |
=================================================================== |
--- media/base/pipeline_impl.h (revision 12568) |
+++ media/base/pipeline_impl.h (working copy) |
@@ -266,7 +266,7 @@ |
template <class Filter, class Source> |
scoped_refptr<Filter> CreateFilter(FilterFactory* filter_factory, |
Source source, |
- const MediaFormat* source_media_format); |
+ const MediaFormat& source_media_format); |
// Creates a Filter and initilizes it with the given |source|. If a Filter |
// could not be created or an error occurred, this metod returns NULL and the |
@@ -278,7 +278,7 @@ |
Source* source) { |
return CreateFilter<Filter, Source*>(filter_factory, |
source, |
- source->GetMediaFormat()); |
+ source->media_format()); |
} |
// Creates a DataSource (the first filter in a pipeline), and initializes it |