summaryrefslogtreecommitdiffstats
path: root/media/base/demuxer.h
diff options
context:
space:
mode:
authorenal@chromium.org <enal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-26 00:31:34 +0000
committerenal@chromium.org <enal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-26 00:31:34 +0000
commit60bf92233cd1ed7ea766a5cf325b7b861a084bb6 (patch)
treefd9db867d7c196071605e68b91ec8f52494b9526 /media/base/demuxer.h
parent7d850a510c411d15fd666f7e29118129b1318624 (diff)
downloadchromium_src-60bf92233cd1ed7ea766a5cf325b7b861a084bb6.zip
chromium_src-60bf92233cd1ed7ea766a5cf325b7b861a084bb6.tar.gz
chromium_src-60bf92233cd1ed7ea766a5cf325b7b861a084bb6.tar.bz2
Send 'ended' event when we don't know audio duration in the beginning.
BUG=86830 TEST=Test case in the bug, and I added unit test. Review URL: https://chromiumcodereview.appspot.com/10414025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139164 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/demuxer.h')
-rw-r--r--media/base/demuxer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/base/demuxer.h b/media/base/demuxer.h
index a8cf50b..49aa238 100644
--- a/media/base/demuxer.h
+++ b/media/base/demuxer.h
@@ -18,8 +18,8 @@ class MEDIA_EXPORT DemuxerHost : public DataSourceHost {
public:
virtual ~DemuxerHost();
- // Get the duration of the media in microseconds. If the duration has not
- // been determined yet, then returns 0.
+ // Sets the duration of the media in microseconds.
+ // Duration may be kInfiniteDuration() if the duration is not known.
virtual void SetDuration(base::TimeDelta duration) = 0;
// Sets the byte offset at which the client is requesting the video.