From: <th...@fr...> - 2006-02-14 11:42:27
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: thaytan Date: Tue Feb 14 2006 03:39:02 PST Log message: * gst/gstpad.c: (fixate_value): Add a default fixation for fraction lists. Modified files: . : ChangeLog gst : gstpad.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.2271&r2=1.2272 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstpad.c.diff?r1=1.493&r2=1.494 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gstreamer/ChangeLog,v retrieving revision 1.2271 retrieving revision 1.2272 diff -u -d -r1.2271 -r1.2272 --- ChangeLog 13 Feb 2006 17:03:22 -0000 1.2271 +++ ChangeLog 14 Feb 2006 11:38:49 -0000 1.2272 @@ -1,3 +1,8 @@ +2006-02-14 Jan Schmidt <th...@ma...> + + * gst/gstpad.c: (fixate_value): + Add a default fixation for fraction lists. 2006-02-13 Wim Taymans <wi...@fl...> * gst/gsttask.c: (gst_task_init), (gst_task_func), Index: gstpad.c RCS file: /cvs/gstreamer/gstreamer/gst/gstpad.c,v retrieving revision 1.493 retrieving revision 1.494 diff -u -d -r1.493 -r1.494 --- gstpad.c 13 Feb 2006 11:52:42 -0000 1.493 +++ gstpad.c 14 Feb 2006 11:38:50 -0000 1.494 @@ -1952,6 +1952,8 @@ } 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 }; |