Search
SailfishOS Open Build Service
>
Projects
>
home:sledge
:
branches:nemo:devel:hw:ti:omap4:common
>
gst-plugins-base
> 0037-stridetransform-reset-crop-sizes-on-caps-changes.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 0037-stridetransform-reset-crop-sizes-on-caps-changes.patch of Package gst-plugins-base
From 76742366faa0d9a9cc6ab308823bff7014126759 Mon Sep 17 00:00:00 2001 From: Alessandro Decina <alessandro.decina@collabora.com> Date: Thu, 22 Mar 2012 13:00:09 +0100 Subject: [PATCH 37/38] stridetransform: reset crop sizes on caps changes --- gst/stride/gststridetransform.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/gst/stride/gststridetransform.c b/gst/stride/gststridetransform.c index b272500..d0fad88 100644 --- a/gst/stride/gststridetransform.c +++ b/gst/stride/gststridetransform.c @@ -533,6 +533,10 @@ gst_stride_transform_set_caps (GstBaseTransform * base, &out_format, &width, &height, &self->out_rowstride), FALSE); self->conversion = NULL; + self->crop_width = 0; + self->crop_height = 0; + self->crop_left = 0; + self->crop_top = 0; for (i = 0; stride_conversions[i].format[0] != GST_VIDEO_FORMAT_UNKNOWN; i++) { if ((stride_conversions[i].format[0] == in_format) && -- 1.7.5.4