| Index: media/filters/ffmpeg_demuxer.cc
|
| diff --git a/media/filters/ffmpeg_demuxer.cc b/media/filters/ffmpeg_demuxer.cc
|
| index 48eaf447ea38a26e5959f4d72b14b229f2177dae..86a49940f69bf3820b17053bd07ed9551e35c000 100644
|
| --- a/media/filters/ffmpeg_demuxer.cc
|
| +++ b/media/filters/ffmpeg_demuxer.cc
|
| @@ -481,6 +481,25 @@ VideoRotation FFmpegDemuxerStream::video_rotation() {
|
| return video_rotation_;
|
| }
|
|
|
| +int FFmpegDemuxerStream::GetMemoryLimit() const {
|
| + // TODO(servolk): Implement better memory limit control for FFMpegDemuxer,
|
| + // currently is has a hard-coded limit of 150Mb across all streams (see
|
| + // IsMaxMemoryUsageReached and crbug.com/343304).
|
| + // Also FFmpegDemuxer is always used with media::BufferDataSource, perhaps
|
| + // we should control buffer size via that for FFmpeg.
|
| + NOTIMPLEMENTED();
|
| + return 0;
|
| +}
|
| +
|
| +void FFmpegDemuxerStream::SetMemoryLimit(int memory_limit) {
|
| + // TODO(servolk): Implement better memory limit control for FFMpegDemuxer,
|
| + // currently is has a hard-coded limit of 150Mb across all streams (see
|
| + // IsMaxMemoryUsageReached and crbug.com/343304).
|
| + // Also FFmpegDemuxer is always used with media::BufferDataSource, perhaps
|
| + // we should control buffer size via that for FFmpeg.
|
| + NOTIMPLEMENTED();
|
| +}
|
| +
|
| void FFmpegDemuxerStream::SetLiveness(Liveness liveness) {
|
| DCHECK(task_runner_->BelongsToCurrentThread());
|
| DCHECK_EQ(liveness_, LIVENESS_UNKNOWN);
|
|
|