From: Jyotsana Subject: Placement and cropping of video due to aspect ratio mismatch Date: Tue, 31 May 2011 13:58:59 +0530 Message-ID: <4DE4A6CB.2090102@tataelxsi.co.in> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from smtpin2.mailsecure.in (SMTPIN2.mailsecure.in [121.241.224.3]) by gabe.freedesktop.org (Postfix) with ESMTP id A1A189EB41 for ; Tue, 31 May 2011 01:39:13 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: "intel-gfx@lists.freedesktop.org" List-Id: intel-gfx@lists.freedesktop.org Hi, I am playing video using "libva-1.0.7" and gstreamer-vaapi plugin. A window is created and passed to the plugin so that video is rendered on it. There is an observation if the aspect ratio of the window is different from the aspect ratio of the video, then some videos are aligned with top edge of the window, some appear in the middle and some aligned with the bottom edge of the window. A particular video always gets rendered at the same location. In some cases, the video is getting cropped. I am not sure whether this is handled by the plugin or the driver. Is this behaviour known. Thanks and Regards, Jyotsana.