Bug 1058549 - Implement SourceBufferDecoder::GetEndMediaTime - r=kinetik
authorChris Double <chris.double@double.co.nz>
Wed, 27 Aug 2014 11:45:48 +1200
changeset 223392 4a3a302f1f31b99182436597840fdbe35389c65c
parent 223391 c5fbcc0109b3a413a103d9752e18a879a5492f1d
child 223393 0e73004b33f28c954c1f269193ebafff50351cb1
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskinetik
bugs1058549
milestone34.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1058549 - Implement SourceBufferDecoder::GetEndMediaTime - r=kinetik
content/media/mediasource/SourceBufferDecoder.cpp
--- a/content/media/mediasource/SourceBufferDecoder.cpp
+++ b/content/media/mediasource/SourceBufferDecoder.cpp
@@ -61,18 +61,17 @@ void
 SourceBufferDecoder::NotifyBytesConsumed(int64_t aBytes, int64_t aOffset)
 {
   MSE_DEBUG("SourceBufferDecoder(%p)::NotifyBytesConsumed UNIMPLEMENTED", this);
 }
 
 int64_t
 SourceBufferDecoder::GetEndMediaTime() const
 {
-  MSE_DEBUG("SourceBufferDecoder(%p)::GetEndMediaTime UNIMPLEMENTED", this);
-  return -1;
+  return mMediaDuration;
 }
 
 int64_t
 SourceBufferDecoder::GetMediaDuration()
 {
   return mMediaDuration;
 }