summaryrefslogtreecommitdiffstats
path: root/ext/sdl
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2004-08-09 20:07:10 +0000
committerDavid Schleef <ds@schleef.org>2004-08-09 20:07:10 +0000
commitabc2e390832daa94ba20f717495581fb22a1916a (patch)
tree4f1e459dbeedfb95f8cab794175a8afc98facad4 /ext/sdl
parenta9c6da74b249e381b00fcf35de4f5ace01b1d145 (diff)
downloadgst-plugins-bad-abc2e390832daa94ba20f717495581fb22a1916a.tar.gz
gst-plugins-bad-abc2e390832daa94ba20f717495581fb22a1916a.tar.bz2
gst-plugins-bad-abc2e390832daa94ba20f717495581fb22a1916a.zip
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.
Diffstat (limited to 'ext/sdl')
-rw-r--r--ext/sdl/sdlvideosink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c
index 3bbd0750..c08bf2d1 100644
--- a/ext/sdl/sdlvideosink.c
+++ b/ext/sdl/sdlvideosink.c
@@ -139,7 +139,7 @@ gst_sdlvideosink_base_init (gpointer g_class)
"format", GST_TYPE_FOURCC, format[i],
"width", 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",