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

Unified Diff: media/base/pipeline_impl.h

Issue 42635: Lots of files touched for a very simple change. Everywhere we used a const M... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 9 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 | « media/base/mock_media_filters.h ('k') | media/base/pipeline_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « media/base/mock_media_filters.h ('k') | media/base/pipeline_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698