From: Thomas V. S. <tho...@us...> - 2002-09-01 20:11:27
|
CVS Root: /cvsroot/gstreamer Module: gstreamer Changes by: thomasvs Date: Sun Sep 01 2002 13:11:27 PDT Log message: big ass set of useless dog fixes [1] changes to pad code so that NULL names are allowed and useful [1] some API changes [2] lots of code cleanup [1] approved by wtay [3] [2] approved by wingo [3] how long can we keep blaming that code guy that's not back from holidays yet for everything we commit ? Modified files: gst : gstpad.c Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstpad.c.diff?r1=1.176&r2=1.177 ====Begin Diffs==== Index: gstpad.c =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/gst/gstpad.c,v retrieving revision 1.176 retrieving revision 1.177 diff -u -d -r1.176 -r1.177 --- gstpad.c 1 Sep 2002 19:43:06 -0000 1.176 +++ gstpad.c 1 Sep 2002 20:11:14 -0000 1.177 @@ -57,22 +57,18 @@ static GstObject *pad_parent_class = NULL; GType -gst_pad_get_type(void) +gst_pad_get_type (void) { if (!_gst_pad_type) { static const GTypeInfo pad_info = { - sizeof(GstPadClass), - NULL, - NULL, [...2199 lines suppressed...] + * @pad: a #GstPad to invoke the default query on. + * @type: the #GstPadQueryType of the query to perform. + * @format: a pointer to the #GstFormat of the result. + * @value: a pointer to the result. * - * Query a pad for one of the available GstPadQuery properties. + * Queries a pad for one of the available properties. * * Returns: TRUE if the query could be performed. */ @@ -2832,7 +2903,8 @@ { GstFormat *result = NULL; - gst_pad_dispatcher (pad, (GstPadDispatcherFunction) gst_pad_get_formats_dispatcher, &result); + gst_pad_dispatcher (pad, (GstPadDispatcherFunction) + gst_pad_get_formats_dispatcher, &result); return result; } |