mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
Fix divide by zero bug when rate==0
Original commit message from CVS: Fix divide by zero bug when rate==0
This commit is contained in:
parent
51bfcddf26
commit
60ad16aadf
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ gst_videotestsrc_class_init (GstVideotestsrcClass * klass)
|
||||||
NULL, G_PARAM_READWRITE));
|
NULL, G_PARAM_READWRITE));
|
||||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_RATE,
|
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_RATE,
|
||||||
g_param_spec_int ("rate", "Rate", "Frame rate",
|
g_param_spec_int ("rate", "Rate", "Frame rate",
|
||||||
0, 100, 30, G_PARAM_READWRITE));
|
1, 100, 30, G_PARAM_READWRITE));
|
||||||
|
|
||||||
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
|
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue