deinterlace: Remove incorrect logic

I don't understand why these lines were added, they don't make sense to
me now and both David and I agree that removing them moves closer to
related logic being correct, therefore, they're being removed.

I've tested a few progressive, interlaced and telecine clips and they
all behave properly timestamp-wise and visually after these changes.
This commit is contained in:
Robert Swain 2012-09-19 00:39:01 +02:00
parent a35a931555
commit 480b894642

View file

@ -1838,10 +1838,6 @@ restart:
if (self->cur_field_idx < 0) if (self->cur_field_idx < 0)
return ret; return ret;
if (!flushing && self->cur_field_idx < 1) {
return ret;
}
/* deinterlace bottom_field */ /* deinterlace bottom_field */
if ((self->field_history[self->cur_field_idx].flags == if ((self->field_history[self->cur_field_idx].flags ==
PICTURE_INTERLACED_BOTTOM && (self->fields == GST_DEINTERLACE_BF PICTURE_INTERLACED_BOTTOM && (self->fields == GST_DEINTERLACE_BF