From e4d9491934ef4bb70aeac5c92cbe76e0399e7367 Mon Sep 17 00:00:00 2001 From: "vrk@google.com" Date: Fri, 16 Sep 2011 00:20:20 +0000 Subject: Revert 101418 - Fix aspect ratio and clarify video frame dimensions BUG=18941,94861 TEST=video-aspect-ratio.html Review URL: http://codereview.chromium.org/7864009 TBR=vrk@google.com Review URL: http://codereview.chromium.org/7919006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101420 0039d316-1c4b-4281-b951-d872f2087c98 --- media/tools/player_x11/gl_video_renderer.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'media/tools/player_x11/gl_video_renderer.cc') diff --git a/media/tools/player_x11/gl_video_renderer.cc b/media/tools/player_x11/gl_video_renderer.cc index 6c6cda4..b58b4df 100644 --- a/media/tools/player_x11/gl_video_renderer.cc +++ b/media/tools/player_x11/gl_video_renderer.cc @@ -128,8 +128,7 @@ bool GlVideoRenderer::OnInitialize(media::VideoDecoder* decoder) { LOG(INFO) << "Initializing GL Renderer..."; // Resize the window to fit that of the video. - XResizeWindow(display_, window_, decoder->natural_size().width(), - decoder->natural_size().height()); + XResizeWindow(display_, window_, decoder->width(), decoder->height()); gl_context_ = InitGLContext(display_, window_); if (!gl_context_) -- cgit v1.1