deinterlace: Don't treat every custom-downstream event as EOS

Don't fall through to the EOS handling after receiving a
custom-downstream event.
This commit is contained in:
Jan Schmidt 2012-09-10 22:09:59 -07:00
parent f874922e1c
commit a27deda053

View file

@ -2545,8 +2545,10 @@ gst_deinterlace_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
self->still_frame_mode = FALSE;
}
}
res = gst_pad_push_event (self->srcpad, event);
break;
}
/* fall through */
case GST_EVENT_EOS:
self->have_eos = TRUE;
gst_deinterlace_reset_history (self, FALSE);