Commit a5ff88df authored by Wim Taymans's avatar Wim Taymans
Browse files

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.
parent e3abdc2b
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
......
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