GNOME Bugzilla – Bug 782542
vaapiwindow_x11: invalid src rect info when using vpp in vaapiwindow.
Last modified: 2017-05-12 15:34:05 UTC
Since we started using vpp in VaapiWindowX11, we need to care about the case that src rect and window's size are different. So, once vpp has converted to other format, we should honor the converted vpp surface's size as src rect. Otherwise, it cropped according to previous src rect's size. We can check this with xdcam-pal-d10-imx30.mxf or op1a-pal-mpeg2.mxf in gst-validate.
Created attachment 351697 [details] [review] libs: window: x11: fix src rect info when using vpp Since we started using vpp in VaapiWindowX11, we need to care about the case that src rect and window's size are different. So, once vpp has converted to other format, we should honor the converted vpp surface's size as src rect. Otherwise, it cropped according to previous src rect's size.
Review of attachment 351697 [details] [review]: ::: gst-libs/gst/vaapi/gstvaapiwindow_x11.c @@ +40,3 @@ #include "gstvaapiutils.h" #include "gstvaapiutils_x11.h" +#include "gstvaapisurface_priv.h" The normal code style is to keep the includes in alphabetical order
Attachment 351697 [details] pushed as f09f21d - libs: window: x11: fix src rect info when using vpp
branch 1.12 * 7e25936f libs: window: x11: fix src rect info when using vpp