summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5c56a7a)
raw | patch | inline | side by side (parent: 5c56a7a)
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | |
Fri, 3 Aug 2012 13:43:19 +0000 (13:43 +0000) | ||
committer | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | |
Fri, 3 Aug 2012 13:47:56 +0000 (13:47 +0000) |
It breaks a sample I have, and should not be needed anymore.
src/gstducatividdec.c | patch | blob | history |
diff --git a/src/gstducatividdec.c b/src/gstducatividdec.c
index 11673362317b8ce9a0230890307c8f999ac3f55e..5264da783bba5c885de99926e410f60b22e198fa 100644 (file)
--- a/src/gstducatividdec.c
+++ b/src/gstducatividdec.c
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);
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);