+2005-09-14 David Schleef <ds@schleef.org>
+
+ * check/generic/states.c:
+ * ext/ogg/gstoggdemux.c: (gst_ogg_pad_typefind):
+ * gst/playback/gstdecodebin.c: (gst_decode_bin_init):
+ Fixes for changes in registry API.
+
+ * configure.ac: Only export gst_plugins_desc. Add -no-undefined
+ to GST_PLUGIN_LDFLAGS.
+ * ext/libvisual/visual.c: Make the library shut up.
+ * gst-libs/gst/audio/audio.c: Don't define a plugin in a library.
+ * gst-libs/gst/audio/gstaudiofilter.c: same
+
2005-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
* docs/plugins/Makefile.am:
GstElement *element;
GList *features, *f;
- features = gst_registry_pool_feature_list (GST_TYPE_ELEMENT_FACTORY);
+ features = gst_registry_get_feature_list (gst_registry_get_default (),
+ GST_TYPE_ELEMENT_FACTORY);
for (f = features; f; f = f->next) {
GstPluginFeature *feature = f->data;
-Subproject commit 22ed11765884ef97b7346f0723ffc0e7fe540640
+Subproject commit 97fbc2dd78ea0cc2225b63ff383802b7c376d9b7
dnl this really should only contain flags, not libs - they get added before
dnl whatevertarget_LIBS and -L flags here affect the rest of the linking
-GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '[_]*(gst_|Gst|GST_).*'"
+GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^[_]*gst_plugin_desc\$' -no-undefined"
AC_SUBST(GST_PLUGIN_LDFLAGS)
dnl these are all the gst plug-ins, compilable without additional libs
};
type = g_type_register_static (GST_TYPE_ELEMENT, "GstVisual", &info, 0);
-
- GST_DEBUG_CATEGORY_INIT (libvisual_debug, "libvisual", 0,
- "libvisual audio visualisations");
- visual_log_set_verboseness (VISUAL_LOG_VERBOSENESS_MEDIUM);
- visual_log_set_info_handler (libvisual_log_handler,
- (void *) GST_LEVEL_INFO);
- visual_log_set_warning_handler (libvisual_log_handler,
- (void *) GST_LEVEL_WARNING);
- visual_log_set_critical_handler (libvisual_log_handler,
- (void *) GST_LEVEL_ERROR);
- visual_log_set_error_handler (libvisual_log_handler,
- (void *) GST_LEVEL_ERROR);
}
return type;
}
guint i;
VisList *list;
+ GST_DEBUG_CATEGORY_INIT (libvisual_debug, "libvisual", 0,
+ "libvisual audio visualisations");
+
if (!visual_is_initialized ())
if (visual_init (NULL, NULL) != 0)
return FALSE;
+ GST_ERROR ("got here");
+ visual_log_set_verboseness (VISUAL_LOG_VERBOSENESS_LOW);
+ visual_log_set_info_handler (libvisual_log_handler, (void *) GST_LEVEL_INFO);
+ visual_log_set_warning_handler (libvisual_log_handler,
+ (void *) GST_LEVEL_WARNING);
+ visual_log_set_critical_handler (libvisual_log_handler,
+ (void *) GST_LEVEL_ERROR);
+ visual_log_set_error_handler (libvisual_log_handler,
+ (void *) GST_LEVEL_ERROR);
+
list = visual_actor_get_list ();
for (i = 0; i < visual_list_count (list); i++) {
VisPluginRef *ref = visual_list_get (list, i);
GList *factories;
/* first filter out the interesting element factories */
- factories = gst_registry_pool_feature_filter (
+ factories = gst_default_registry_feature_filter (
(GstPluginFeatureFilter) gst_ogg_demux_factory_filter, FALSE, caps);
/* sort them according to their ranks */
gst_structure_set (structure, "buffer-frames", GST_TYPE_INT_RANGE, 1,
G_MAXINT, NULL);
}
-
-static gboolean
-plugin_init (GstPlugin * plugin)
-{
- gst_audio_channel_position_get_type ();
-
- return TRUE;
-}
-
-GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
- GST_VERSION_MINOR,
- "gstaudio",
- "Support services for audio plugins",
- plugin_init, VERSION, GST_LICENSE, GST_PACKAGE, GST_ORIGIN);
gst_pad_template_new ("sink", GST_PAD_SINK, GST_PAD_ALWAYS,
gst_caps_copy (caps)));
}
-
-static gboolean
-plugin_init (GstPlugin * plugin)
-{
- return TRUE;
-}
-
-GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
- GST_VERSION_MINOR,
- "gstaudiofilter",
- "Audio filter parent class",
- plugin_init, VERSION, "LGPL", GST_PACKAGE, GST_ORIGIN)
GList *factories;
/* first filter out the interesting element factories */
- factories = gst_registry_pool_feature_filter (
+ factories = gst_default_registry_feature_filter (
(GstPluginFeatureFilter) gst_decode_bin_factory_filter,
FALSE, decode_bin);
GstElement *element;
GList *features, *f;
- features = gst_registry_pool_feature_list (GST_TYPE_ELEMENT_FACTORY);
+ features = gst_registry_get_feature_list (gst_registry_get_default (),
+ GST_TYPE_ELEMENT_FACTORY);
for (f = features; f; f = f->next) {
GstPluginFeature *feature = f->data;