mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
videorate: ignore GAP event
videorate automatically fills gaps with the previous frames. https://bugzilla.gnome.org/show_bug.cgi?id=705048
This commit is contained in:
parent
470531d56e
commit
496dd67859
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue