mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +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_DEBUG_OBJECT (videorate, "Got FLUSH_STOP");
|
||||||
gst_video_rate_reset (videorate);
|
gst_video_rate_reset (videorate);
|
||||||
break;
|
break;
|
||||||
|
case GST_EVENT_GAP:
|
||||||
|
/* no gaps after videorate, ignore the event */
|
||||||
|
gst_event_unref (event);
|
||||||
|
return TRUE;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue