mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 04:52:28 +00:00
gst-libs/gst/video/gstvideosink.c: Throw away frames that are later than 20 ms.
Original commit message from CVS: * gst-libs/gst/video/gstvideosink.c: (gst_video_sink_init), (gst_video_sink_class_init): Throw away frames that are later than 20 ms.
This commit is contained in:
parent
e3abdc2b9a
commit
a5ff88df2a
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-03-06 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst-libs/gst/video/gstvideosink.c: (gst_video_sink_init),
|
||||
(gst_video_sink_class_init):
|
||||
Throw away frames that are later than 20 ms.
|
||||
|
||||
2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
|
||||
|
|
|
@ -99,6 +99,7 @@ gst_video_sink_init (GstVideoSink * videosink)
|
|||
{
|
||||
videosink->width = 0;
|
||||
videosink->height = 0;
|
||||
GST_BASE_SINK (videosink)->abidata.ABI.max_lateness = 20 * GST_MSECOND;
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -110,7 +111,7 @@ gst_video_sink_class_init (GstVideoSinkClass * klass)
|
|||
gobject_class = (GObjectClass *) klass;
|
||||
gstelement_class = (GstElementClass *) klass;
|
||||
|
||||
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue