From: <tp...@ke...> - 2008-04-07 13:27:41
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: tpm Date: Mon Apr 07 2008 13:27:46 UTC Log message: * gst/gstindex.c: (gst_index_resolver_get_type): Don't put descriptions into the nick field of a GEnumValue: it's not meant for that and some language bindings rely on the nick field to construct constants and the like. Fixes #526705. Modified files: . : ChangeLog gst : gstindex.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.3750&r2=1.3751 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstindex.c.diff?r1=1.48&r2=1.49 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gstreamer/ChangeLog,v retrieving revision 1.3750 retrieving revision 1.3751 diff -u -d -r1.3750 -r1.3751 --- ChangeLog 7 Apr 2008 10:48:48 -0000 1.3750 +++ ChangeLog 7 Apr 2008 13:27:30 -0000 1.3751 @@ -1,5 +1,12 @@ 2008-04-07 Tim-Philipp Müller <tim at centricular dot net> + * gst/gstindex.c: (gst_index_resolver_get_type): + Don't put descriptions into the nick field of a GEnumValue: it's not + meant for that and some language bindings rely on the nick field to + construct constants and the like. Fixes #526705. + +2008-04-07 Tim-Philipp Müller <tim at centricular dot net> * NEWS: * RELEASE: * gstreamer.doap: Index: gstindex.c RCS file: /cvs/gstreamer/gstreamer/gst/gstindex.c,v retrieving revision 1.48 retrieving revision 1.49 diff -u -d -r1.48 -r1.49 --- gstindex.c 22 Mar 2008 14:56:12 -0000 1.48 +++ gstindex.c 7 Apr 2008 13:27:32 -0000 1.49 @@ -94,12 +94,9 @@ { static GType index_resolver_type = 0; static const GEnumValue index_resolver[] = { - {GST_INDEX_RESOLVER_CUSTOM, "GST_INDEX_RESOLVER_CUSTOM", - "Use a custom resolver"}, - {GST_INDEX_RESOLVER_GTYPE, "GST_INDEX_RESOLVER_GTYPE", - "Resolve an object to its GType[.padname]"}, - {GST_INDEX_RESOLVER_PATH, "GST_INDEX_RESOLVER_PATH", - "Resolve an object to its path in the pipeline"}, + {GST_INDEX_RESOLVER_CUSTOM, "GST_INDEX_RESOLVER_CUSTOM", "custom"}, + {GST_INDEX_RESOLVER_GTYPE, "GST_INDEX_RESOLVER_GTYPE", "gtype"}, + {GST_INDEX_RESOLVER_PATH, "GST_INDEX_RESOLVER_PATH", "path"}, {0, NULL, NULL}, }; |