From e8ffa0d39c52ff9760e90541aa8bb4f431231542 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Tue, 23 Jun 2020 11:36:15 -0400 Subject: [PATCH] openmpt: Namespace enum GType names --- docs/plugins/gst_plugins_cache.json | 2 +- gst-libs/gst/audio/gstnonstreamaudiodecoder.c | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index 2308426..c1dfbe0 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -211798,7 +211798,7 @@ "default": "steady (1)", "mutable": "null", "readable": true, - "type": "NonstreamAudioOutputMode", + "type": "GstNonstreamAudioOutputMode", "writable": true }, "stereo-separation": { diff --git a/gst-libs/gst/audio/gstnonstreamaudiodecoder.c b/gst-libs/gst/audio/gstnonstreamaudiodecoder.c index 8a63a1c..ca8afce 100644 --- a/gst-libs/gst/audio/gstnonstreamaudiodecoder.c +++ b/gst-libs/gst/audio/gstnonstreamaudiodecoder.c @@ -148,7 +148,7 @@ * * The duration that is returned to a DURATION query is always the duration * of the (sub)song, regardless of number of loops or output mode. The same * goes for DURATION messages and tags. - * + * * * If the number of loops is >0 or -1, durations of TOC entries are set to * the duration of the respective subsong in LOOPING mode and to G_MAXINT64 in * STEADY mode. If the number of loops is 0, entry durations are set to the @@ -298,7 +298,8 @@ gst_nonstream_audio_decoder_output_mode_get_type (void) }; gst_nonstream_audio_decoder_output_mode_type = - g_enum_register_static ("NonstreamAudioOutputMode", output_mode_values); + g_enum_register_static ("GstNonstreamAudioOutputMode", + output_mode_values); } return gst_nonstream_audio_decoder_output_mode_type; @@ -321,7 +322,7 @@ gst_nonstream_audio_decoder_subsong_mode_get_type (void) }; gst_nonstream_audio_decoder_subsong_mode_type = - g_enum_register_static ("NonstreamAudioSubsongMode", + g_enum_register_static ("GstNonstreamAudioSubsongMode", subsong_mode_values); } -- 2.7.4