summaryrefslogtreecommitdiffstats
path: root/media/base/data_source.cc
Commit message (Collapse)AuthorAgeFilesLines
* Move DataSourceHost to BufferedDataSourceHost.sandersd@chromium.org2014-04-101-2/+0
| | | | | | | | BUG=122071 Review URL: https://codereview.chromium.org/224093011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262892 0039d316-1c4b-4281-b951-d872f2087c98
* Separate DemuxerHost from DataSourceHost.sandersd@chromium.org2014-04-031-9/+1
| | | | | | | | | | This is the first part of work to remove byte range computations out of media::Pipeline, and instead have the DataSource report those directly to Pipeline's parent, which will avoid crossing thread boundaries unnecessarily. This first CL just cleans up the interfaces required to do that, but already eliminates some of the stranger parts of the set-up code. BUG=122071 Review URL: https://codereview.chromium.org/212803004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261494 0039d316-1c4b-4281-b951-d872f2087c98
* Remove default implementations from Demuxer.rileya@chromium.org2013-10-101-2/+0
| | | | | | | | | | Seek(), Stop(), and OnAudioRendererDisabled() are now pure virtual. SetPlaybackRate() is removed entirely, and moved down to BufferedDataSource. BUG=304990 Review URL: https://codereview.chromium.org/26492004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227979 0039d316-1c4b-4281-b951-d872f2087c98
* Replace size_t with int in a few media classes.scherkus@chromium.org2012-03-271-2/+2
| | | | | | | | This addressed TODOs in DataSource::Read() and AudioRendererAlgorithmBase, which led to converting Buffer and SeekableBuffer as well. Review URL: https://chromiumcodereview.appspot.com/9854031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129140 0039d316-1c4b-4281-b951-d872f2087c98
* Removing DataSource from Filter hierarchy and refactoring FilterHost into ↵acolwell@chromium.org2011-12-161-0/+30
DemuxerHost & DataSourceHost. Over the last year, several refactorings have caused DataSource to have almost nothing in common with the Filter interface. This change removes it from the Filter class hierarchy and splits up the FilterHost interface so that DataSource, Demuxer, and Filter have their own host interfaces. Splitting FilterHost improves encapsulation and makes it easier to reason about which host methods are required by different parts of the code. BUG= TEST=media_unittests Review URL: http://codereview.chromium.org/8936014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114819 0039d316-1c4b-4281-b951-d872f2087c98