mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
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:
parent
a35a931555
commit
480b894642
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue