From 496dd6785961e2522505a200e2a621d936027a43 Mon Sep 17 00:00:00 2001 From: Matej Knopp Date: Sun, 28 Jul 2013 23:38:06 +0200 Subject: [PATCH] videorate: ignore GAP event videorate automatically fills gaps with the previous frames. https://bugzilla.gnome.org/show_bug.cgi?id=705048 --- gst/videorate/gstvideorate.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gst/videorate/gstvideorate.c b/gst/videorate/gstvideorate.c index 75c337184a..de53b7ad39 100644 --- a/gst/videorate/gstvideorate.c +++ b/gst/videorate/gstvideorate.c @@ -779,6 +779,10 @@ gst_video_rate_sink_event (GstBaseTransform * trans, GstEvent * event) GST_DEBUG_OBJECT (videorate, "Got FLUSH_STOP"); gst_video_rate_reset (videorate); break; + case GST_EVENT_GAP: + /* no gaps after videorate, ignore the event */ + gst_event_unref (event); + return TRUE; default: break; }