mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
gst/gstindex.c: Don't put descriptions into the nick field of a GEnumValue: it's not meant for that and some language...
Original commit message from CVS: * 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.
This commit is contained in:
parent
6b4ca109b1
commit
ed1d95d425
2 changed files with 10 additions and 6 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
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>
|
2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* NEWS:
|
* NEWS:
|
||||||
|
|
|
@ -94,12 +94,9 @@ gst_index_resolver_get_type (void)
|
||||||
{
|
{
|
||||||
static GType index_resolver_type = 0;
|
static GType index_resolver_type = 0;
|
||||||
static const GEnumValue index_resolver[] = {
|
static const GEnumValue index_resolver[] = {
|
||||||
{GST_INDEX_RESOLVER_CUSTOM, "GST_INDEX_RESOLVER_CUSTOM",
|
{GST_INDEX_RESOLVER_CUSTOM, "GST_INDEX_RESOLVER_CUSTOM", "custom"},
|
||||||
"Use a custom resolver"},
|
{GST_INDEX_RESOLVER_GTYPE, "GST_INDEX_RESOLVER_GTYPE", "gtype"},
|
||||||
{GST_INDEX_RESOLVER_GTYPE, "GST_INDEX_RESOLVER_GTYPE",
|
{GST_INDEX_RESOLVER_PATH, "GST_INDEX_RESOLVER_PATH", "path"},
|
||||||
"Resolve an object to its GType[.padname]"},
|
|
||||||
{GST_INDEX_RESOLVER_PATH, "GST_INDEX_RESOLVER_PATH",
|
|
||||||
"Resolve an object to its path in the pipeline"},
|
|
||||||
{0, NULL, NULL},
|
{0, NULL, NULL},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue