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:
parent
f874922e1c
commit
a27deda053
@ -2545,8 +2545,10 @@ gst_deinterlace_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
|||||||
self->still_frame_mode = FALSE;
|
self->still_frame_mode = FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
res = gst_pad_push_event (self->srcpad, event);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
/* fall through */
|
|
||||||
case GST_EVENT_EOS:
|
case GST_EVENT_EOS:
|
||||||
self->have_eos = TRUE;
|
self->have_eos = TRUE;
|
||||||
gst_deinterlace_reset_history (self, FALSE);
|
gst_deinterlace_reset_history (self, FALSE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user