--- gst-plugin-ducati-1.5.4.11+git20120228+de17ddfd.orig/src/gstducatividdec.c +++ gst-plugin-ducati-1.5.4.11+git20120228+de17ddfd/src/gstducatividdec.c @@ -356,7 +356,6 @@ codec_process (GstDucatiVidDec * self, g if (G_UNLIKELY (self->send_crop_event) && send) { gint crop_width, crop_height; - GstDucatiVidDecClass *klass = GST_DUCATIVIDDEC_GET_CLASS (self); /* send region of interest to sink on first buffer: */ XDM_Rect *r = &(self->outArgs->displayBufs.bufDesc[0].activeFrameRegion); @@ -369,9 +368,6 @@ codec_process (GstDucatiVidDec * self, g if (crop_height > self->input_height) crop_height = self->input_height; - if (self->interlaced && !strcmp (klass->codec_name, "ivahd_mpeg2vdec")) - crop_height = crop_height / 2; - GST_INFO_OBJECT (self, "active frame region %d, %d, %d, %d, crop %dx%d", r->topLeft.x, r->topLeft.y, r->bottomRight.x, r->bottomRight.y, crop_width, crop_height);