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

Unified Diff: media/filters/file_data_source.h

Issue 7452016: Remove MediaFormat once and for all. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: Created 9 years, 5 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/filters/ffmpeg_demuxer.cc ('k') | media/filters/file_data_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/file_data_source.h
diff --git a/media/filters/file_data_source.h b/media/filters/file_data_source.h
index 27e0d0ed6125f5371ab56927f04f0fe29beb3503..10e61aa75d8bae7a7df06dad3fafe6e569d84450 100644
--- a/media/filters/file_data_source.h
+++ b/media/filters/file_data_source.h
@@ -27,7 +27,6 @@ class FileDataSource : public DataSource {
virtual void Stop(FilterCallback* callback);
// Implementation of DataSource.
- virtual const MediaFormat& media_format();
virtual void Read(int64 position, size_t size, uint8* data,
ReadCallback* read_callback);
virtual bool GetSize(int64* size_out);
@@ -49,9 +48,6 @@ class FileDataSource : public DataSource {
// Size of the file in bytes.
int64 file_size_;
- // Media format handed out by the DataSource::GetMediaFormat method.
- MediaFormat media_format_;
-
// Critical section that protects all of the DataSource methods to prevent
// a Stop from happening while in the middle of a file I/O operation.
// TODO(ralphl): Ideally this would use asynchronous I/O or we will know
« no previous file with comments | « media/filters/ffmpeg_demuxer.cc ('k') | media/filters/file_data_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698