mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 13:55:41 +00:00
dataprotocol, lfocontrolsource: fix enum value name in enums that are public API
So run-time bindings can introspect the names correctly (we abuse this field as description field only in elements, not for public API (where the description belongs into the gtk-doc chunk). https://bugzilla.gnome.org/show_bug.cgi?id=629946
This commit is contained in:
parent
3ee6ae4030
commit
c7e3bab65d
2 changed files with 7 additions and 7 deletions
|
@ -584,15 +584,15 @@ gst_lfo_waveform_get_type (void)
|
|||
|
||||
if (gtype == 0) {
|
||||
static const GEnumValue values[] = {
|
||||
{GST_LFO_WAVEFORM_SINE, "Sine waveform (default)",
|
||||
{GST_LFO_WAVEFORM_SINE, "GST_LFO_WAVEFORM_SINE",
|
||||
"sine"},
|
||||
{GST_LFO_WAVEFORM_SQUARE, "Square waveform",
|
||||
{GST_LFO_WAVEFORM_SQUARE, "GST_LFO_WAVEFORM_SQUARE",
|
||||
"square"},
|
||||
{GST_LFO_WAVEFORM_SAW, "Saw waveform",
|
||||
{GST_LFO_WAVEFORM_SAW, "GST_LFO_WAVEFORM_SAW",
|
||||
"saw"},
|
||||
{GST_LFO_WAVEFORM_REVERSE_SAW, "Reverse saw waveform",
|
||||
{GST_LFO_WAVEFORM_REVERSE_SAW, "GST_LFO_WAVEFORM_REVERSE_SAW",
|
||||
"reverse-saw"},
|
||||
{GST_LFO_WAVEFORM_TRIANGLE, "Triangle waveform",
|
||||
{GST_LFO_WAVEFORM_TRIANGLE, "GST_LFO_WAVEFORM_TRIANGLE",
|
||||
"triangle"},
|
||||
{0, NULL, NULL}
|
||||
};
|
||||
|
|
|
@ -294,8 +294,8 @@ gst_dp_version_get_type (void)
|
|||
{
|
||||
static GType gst_dp_version_type = 0;
|
||||
static const GEnumValue gst_dp_version[] = {
|
||||
{GST_DP_VERSION_0_2, "GDP Version 0.2", "0.2"},
|
||||
{GST_DP_VERSION_1_0, "GDP Version 1.0", "1.0"},
|
||||
{GST_DP_VERSION_0_2, "GST_DP_VERSION_0_2", "0.2"},
|
||||
{GST_DP_VERSION_1_0, "GST_DP_VERSION_1_0", "1.0"},
|
||||
{0, NULL, NULL},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue