X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=gst-plugins-base-subtitles0.10%2Fwin32%2Fcommon%2Fpbutils-enumtypes.c;fp=gst-plugins-base-subtitles0.10%2Fwin32%2Fcommon%2Fpbutils-enumtypes.c;h=2652ec066c44bccb838a011c3a68564e90053539;hb=57ba96e291a055f69dbfd4ae9f1ae2390e36986e;hp=0000000000000000000000000000000000000000;hpb=be2c98fb83895d10ac44af7b9a9c3e00ca54bf49;p=mafwsubrenderer diff --git a/gst-plugins-base-subtitles0.10/win32/common/pbutils-enumtypes.c b/gst-plugins-base-subtitles0.10/win32/common/pbutils-enumtypes.c new file mode 100644 index 0000000..2652ec0 --- /dev/null +++ b/gst-plugins-base-subtitles0.10/win32/common/pbutils-enumtypes.c @@ -0,0 +1,70 @@ + + + +#include "pbutils-enumtypes.h" + +#include "pbutils.h" +#include "codec-utils.h" +#include "descriptions.h" +#include "encoding-profile.h" +#include "encoding-target.h" +#include "install-plugins.h" +#include "missing-plugins.h" +#include "gstdiscoverer.h" + +/* enumerations from "install-plugins.h" */ +GType +gst_install_plugins_return_get_type (void) +{ + static volatile gsize g_define_type_id__volatile = 0; + if (g_once_init_enter (&g_define_type_id__volatile)) { + static const GEnumValue values[] = { + {GST_INSTALL_PLUGINS_SUCCESS, "GST_INSTALL_PLUGINS_SUCCESS", "success"}, + {GST_INSTALL_PLUGINS_NOT_FOUND, "GST_INSTALL_PLUGINS_NOT_FOUND", + "not-found"}, + {GST_INSTALL_PLUGINS_ERROR, "GST_INSTALL_PLUGINS_ERROR", "error"}, + {GST_INSTALL_PLUGINS_PARTIAL_SUCCESS, + "GST_INSTALL_PLUGINS_PARTIAL_SUCCESS", "partial-success"}, + {GST_INSTALL_PLUGINS_USER_ABORT, "GST_INSTALL_PLUGINS_USER_ABORT", + "user-abort"}, + {GST_INSTALL_PLUGINS_CRASHED, "GST_INSTALL_PLUGINS_CRASHED", "crashed"}, + {GST_INSTALL_PLUGINS_INVALID, "GST_INSTALL_PLUGINS_INVALID", "invalid"}, + {GST_INSTALL_PLUGINS_STARTED_OK, "GST_INSTALL_PLUGINS_STARTED_OK", + "started-ok"}, + {GST_INSTALL_PLUGINS_INTERNAL_FAILURE, + "GST_INSTALL_PLUGINS_INTERNAL_FAILURE", "internal-failure"}, + {GST_INSTALL_PLUGINS_HELPER_MISSING, "GST_INSTALL_PLUGINS_HELPER_MISSING", + "helper-missing"}, + {GST_INSTALL_PLUGINS_INSTALL_IN_PROGRESS, + "GST_INSTALL_PLUGINS_INSTALL_IN_PROGRESS", "install-in-progress"}, + {0, NULL, NULL} + }; + GType g_define_type_id = + g_enum_register_static ("GstInstallPluginsReturn", values); + g_once_init_leave (&g_define_type_id__volatile, g_define_type_id); + } + return g_define_type_id__volatile; +} + +/* enumerations from "gstdiscoverer.h" */ +GType +gst_discoverer_result_get_type (void) +{ + static volatile gsize g_define_type_id__volatile = 0; + if (g_once_init_enter (&g_define_type_id__volatile)) { + static const GEnumValue values[] = { + {GST_DISCOVERER_OK, "GST_DISCOVERER_OK", "ok"}, + {GST_DISCOVERER_URI_INVALID, "GST_DISCOVERER_URI_INVALID", "uri-invalid"}, + {GST_DISCOVERER_ERROR, "GST_DISCOVERER_ERROR", "error"}, + {GST_DISCOVERER_TIMEOUT, "GST_DISCOVERER_TIMEOUT", "timeout"}, + {GST_DISCOVERER_BUSY, "GST_DISCOVERER_BUSY", "busy"}, + {GST_DISCOVERER_MISSING_PLUGINS, "GST_DISCOVERER_MISSING_PLUGINS", + "missing-plugins"}, + {0, NULL, NULL} + }; + GType g_define_type_id = + g_enum_register_static ("GstDiscovererResult", values); + g_once_init_leave (&g_define_type_id__volatile, g_define_type_id); + } + return g_define_type_id__volatile; +}