diff --git a/ChangeLog b/ChangeLog index 9201702050..f51484367f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-02-14 Jan Schmidt + + * gst/gstpad.c: (fixate_value): + Add a default fixation for fraction lists. + 2006-02-13 Wim Taymans * gst/gsttask.c: (gst_task_init), (gst_task_func), diff --git a/gst/gstpad.c b/gst/gstpad.c index b20eda2069..82ee1d646f 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -1952,6 +1952,8 @@ fixate_value (GValue * dest, const GValue * src) } else if (G_VALUE_TYPE (src) == GST_TYPE_DOUBLE_RANGE) { g_value_init (dest, G_TYPE_DOUBLE); g_value_set_double (dest, gst_value_get_double_range_min (src)); + } else if (G_VALUE_TYPE (src) == GST_TYPE_FRACTION_RANGE) { + gst_value_init_and_copy (dest, gst_value_get_fraction_range_min (src)); } else if (G_VALUE_TYPE (src) == GST_TYPE_LIST) { GValue temp = { 0 };