mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
gst/gst.c: Init tags stuff and some other things before loading any static plugins (there may be other static plugins...
Original commit message from CVS: * gst/gst.c: (init_post): Init tags stuff and some other things before loading any static plugins (there may be other static plugins than just the GStreamer ones, and they may want to register their own tags or formats or whatever, and preferably without segfaulting). * plugins/elements/gstqueue.c: (gst_queue_handle_src_query): Print at least a warning in the debug logs if we drop a query just because we don't know how to adjust the value in the particular format.
This commit is contained in:
parent
2dacd269fc
commit
aee739e875
3 changed files with 21 additions and 4 deletions
14
ChangeLog
14
ChangeLog
|
@ -1,3 +1,17 @@
|
||||||
|
2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* gst/gst.c: (init_post):
|
||||||
|
Init tags stuff and some other things before loading
|
||||||
|
any static plugins (there may be other static plugins
|
||||||
|
than just the GStreamer ones, and they may want to
|
||||||
|
register their own tags or formats or whatever, and
|
||||||
|
preferably without segfaulting).
|
||||||
|
|
||||||
|
* plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
|
||||||
|
Print at least a warning in the debug logs if we drop a
|
||||||
|
query just because we don't know how to adjust the value
|
||||||
|
in the particular format.
|
||||||
|
|
||||||
2005-12-24 David Schleef <ds@schleef.org>
|
2005-12-24 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
* tools/gstreamer-completion:
|
* tools/gstreamer-completion:
|
||||||
|
|
|
@ -567,18 +567,19 @@ init_post (void)
|
||||||
gst_uri_handler_get_type ();
|
gst_uri_handler_get_type ();
|
||||||
#endif /* GST_DISABLE_URI */
|
#endif /* GST_DISABLE_URI */
|
||||||
|
|
||||||
/* register core plugins */
|
|
||||||
_gst_plugin_register_static (&plugin_desc);
|
|
||||||
|
|
||||||
gst_structure_get_type ();
|
gst_structure_get_type ();
|
||||||
_gst_value_initialize ();
|
_gst_value_initialize ();
|
||||||
gst_caps_get_type ();
|
gst_caps_get_type ();
|
||||||
_gst_plugin_initialize ();
|
|
||||||
_gst_event_initialize ();
|
_gst_event_initialize ();
|
||||||
_gst_buffer_initialize ();
|
_gst_buffer_initialize ();
|
||||||
_gst_message_initialize ();
|
_gst_message_initialize ();
|
||||||
_gst_tag_initialize ();
|
_gst_tag_initialize ();
|
||||||
|
|
||||||
|
/* register core plugins */
|
||||||
|
_gst_plugin_register_static (&plugin_desc);
|
||||||
|
|
||||||
|
_gst_plugin_initialize ();
|
||||||
|
|
||||||
#ifndef GST_DISABLE_REGISTRY
|
#ifndef GST_DISABLE_REGISTRY
|
||||||
{
|
{
|
||||||
char *registry_file;
|
char *registry_file;
|
||||||
|
|
|
@ -917,6 +917,8 @@ gst_queue_handle_src_query (GstPad * pad, GstQuery * query)
|
||||||
peer_pos -= queue->cur_level.time;
|
peer_pos -= queue->cur_level.time;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
GST_WARNING_OBJECT (queue, "dropping query in %s format, don't "
|
||||||
|
"know how to adjust value", gst_format_get_name (format));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
/* set updated position */
|
/* set updated position */
|
||||||
|
|
Loading…
Reference in a new issue