ext/sdl/sdlvideosink.c: Only allow sane framerates.

Original commit message from CVS:
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_base_init):  Only allow
sane framerates.
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get): same
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support): same
* testsuite/gst-lint: Test for G_GUINT64_FORMAT usage near gettext.
This commit is contained in:
David Schleef 2004-08-09 20:07:10 +00:00
parent a9c6da74b2
commit abc2e39083
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2004-08-09 David Schleef <ds@schleef.org>
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_base_init): Only allow
sane framerates.
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get): same
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support): same
* testsuite/gst-lint: Test for G_GUINT64_FORMAT usage near gettext.
2004-08-09 Wim Taymans <wim@fluendo.com> 2004-08-09 Wim Taymans <wim@fluendo.com>
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_class_init), * gst/tcp/gstmultifdsink.c: (gst_multifdsink_class_init),

View file

@ -139,7 +139,7 @@ gst_sdlvideosink_base_init (gpointer g_class)
"format", GST_TYPE_FOURCC, format[i], "format", GST_TYPE_FOURCC, format[i],
"width", GST_TYPE_INT_RANGE, 1, G_MAXINT, "width", GST_TYPE_INT_RANGE, 1, G_MAXINT,
"height", GST_TYPE_INT_RANGE, 1, G_MAXINT, "height", GST_TYPE_INT_RANGE, 1, G_MAXINT,
"framerate", GST_TYPE_DOUBLE_RANGE, 0.0, G_MAXDOUBLE, NULL)); "framerate", GST_TYPE_DOUBLE_RANGE, 1.0, 100.0, NULL));
} }
sink_template = gst_pad_template_new ("sink", sink_template = gst_pad_template_new ("sink",