Commit 1cd86e3a authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

[MOVED FROM BAD 52/56] deinterlace2: Reset history if DISCONT is set on the incoming buffer

parent 1419d1cd
......@@ -776,6 +776,11 @@ gst_deinterlace2_chain (GstPad * pad, GstBuffer * buf)
self = GST_DEINTERLACE2 (GST_PAD_PARENT (pad));
if (GST_BUFFER_FLAG_IS_SET (buf, GST_BUFFER_FLAG_DISCONT)) {
GST_DEBUG_OBJECT (self, "DISCONT buffer, resetting history");
gst_deinterlace2_reset_history (self);
}
gst_deinterlace2_push_history (self, buf);
buf = NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment