Index: media/mojo/services/mojo_demuxer_stream_impl.cc |
diff --git a/media/mojo/services/mojo_demuxer_stream_impl.cc b/media/mojo/services/mojo_demuxer_stream_impl.cc |
index 7a960b4bec6210cd085366b0099be8e1c97ccb73..a097ff852e303183d72b4d07951749ddd4e6a04c 100644 |
--- a/media/mojo/services/mojo_demuxer_stream_impl.cc |
+++ b/media/mojo/services/mojo_demuxer_stream_impl.cc |
@@ -79,6 +79,14 @@ void MojoDemuxerStreamImpl::EnableBitstreamConverter() { |
stream_->EnableBitstreamConverter(); |
} |
+void MojoDemuxerStreamImpl::enabled(const enabledCallback& callback) { |
+ callback.Run(stream_->enabled()); |
+} |
+ |
+void MojoDemuxerStreamImpl::set_enabled(bool enabled, int64_t time_usec) { |
+ stream_->set_enabled(enabled, base::TimeDelta::FromMicroseconds(time_usec)); |
+} |
+ |
void MojoDemuxerStreamImpl::OnBufferReady( |
const ReadCallback& callback, |
media::DemuxerStream::Status status, |