| Index: content/renderer/media/webmediaplayer_impl.h
|
| diff --git a/content/renderer/media/webmediaplayer_impl.h b/content/renderer/media/webmediaplayer_impl.h
|
| index 7f765a82c036193401f1bbcf589d95804527cb24..d12dcffd8c9dff629b6ee18d28d41632ccf88ce5 100644
|
| --- a/content/renderer/media/webmediaplayer_impl.h
|
| +++ b/content/renderer/media/webmediaplayer_impl.h
|
| @@ -174,8 +174,8 @@ class WebMediaPlayerImpl
|
| void OnPipelineSeek(media::PipelineStatus status);
|
| void OnPipelineEnded();
|
| void OnPipelineError(media::PipelineStatus error);
|
| - void OnPipelineBufferingState(
|
| - media::Pipeline::BufferingState buffering_state);
|
| + void OnPipelineMetadata(media::PipelineMetadata metadata);
|
| + void OnPipelinePrerollCompleted();
|
| void OnDemuxerOpened();
|
| void OnKeyAdded(const std::string& session_id);
|
| void OnKeyError(const std::string& session_id,
|
| @@ -269,6 +269,9 @@ class WebMediaPlayerImpl
|
| // The LoadType passed in the |load_type| parameter of the load() call.
|
| LoadType load_type_;
|
|
|
| + // Cache of metadata for answering hasAudio(), hasVideo(), and naturalSize().
|
| + media::PipelineMetadata pipeline_metadata_;
|
| +
|
| // Playback state.
|
| //
|
| // TODO(scherkus): we have these because Pipeline favours the simplicity of a
|
| @@ -331,7 +334,6 @@ class WebMediaPlayerImpl
|
| // Video rendering members.
|
| media::VideoFramePainter painter_;
|
| media::SkCanvasVideoRenderer skcanvas_video_renderer_;
|
| - gfx::Size natural_size_;
|
|
|
| // The compositor layer for displaying the video content when using composited
|
| // playback.
|
|
|