mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 23:48:53 +00:00
docs/gst/gstreamer-sections.txt: Remove deprecated symbols.
Original commit message from CVS: * docs/gst/gstreamer-sections.txt: Remove deprecated symbols. * docs/gst/tmpl/gstinfo.sgml: same * docs/gst/tmpl/gstutils.sgml: Remove a bunch of bogus crap that gtk-doc put here. * gst/gstutils.h: Remove the \ that was confusing gtk-doc. * examples/queue/queue.c: (main): We iterate pipelines, not bins. (bug #139996)
This commit is contained in:
parent
56f7368c75
commit
66f00f1c78
7 changed files with 32 additions and 102 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2004-04-15 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
|
* docs/gst/gstreamer-sections.txt: Remove deprecated symbols.
|
||||||
|
* docs/gst/tmpl/gstinfo.sgml: same
|
||||||
|
* docs/gst/tmpl/gstutils.sgml: Remove a bunch of bogus crap that
|
||||||
|
gtk-doc put here.
|
||||||
|
* gst/gstutils.h: Remove the \ that was confusing gtk-doc.
|
||||||
|
* examples/queue/queue.c: (main): We iterate pipelines, not
|
||||||
|
bins. (bug #139996)
|
||||||
|
|
||||||
2004-04-15 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
2004-04-15 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
* docs/pwg/advanced-types.xml:
|
* docs/pwg/advanced-types.xml:
|
||||||
|
|
|
@ -1742,12 +1742,6 @@ GST_WARNING
|
||||||
GST_INFO
|
GST_INFO
|
||||||
GST_DEBUG
|
GST_DEBUG
|
||||||
GST_LOG
|
GST_LOG
|
||||||
GST_INFO_ELEMENT
|
|
||||||
GST_DEBUG_ELEMENT
|
|
||||||
GST_DEBUG_ENTER
|
|
||||||
GST_DEBUG_LEAVE
|
|
||||||
GST_INFO_ENTER
|
|
||||||
GST_INFO_LEAVE
|
|
||||||
GST_DEBUG_FUNCPTR
|
GST_DEBUG_FUNCPTR
|
||||||
GST_DEBUG_FUNCPTR_NAME
|
GST_DEBUG_FUNCPTR_NAME
|
||||||
gst_debug_set_log_function
|
gst_debug_set_log_function
|
||||||
|
|
|
@ -692,58 +692,6 @@ Output a logging message in the default category.
|
||||||
@...: printf-style message to output
|
@...: printf-style message to output
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_INFO_ELEMENT ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@cat:
|
|
||||||
@obj:
|
|
||||||
@...:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_DEBUG_ELEMENT ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@cat:
|
|
||||||
@obj:
|
|
||||||
@...:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_DEBUG_ENTER ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@...:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_DEBUG_LEAVE ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@...:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_INFO_ENTER ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@...:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_INFO_LEAVE ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
@...:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GST_DEBUG_FUNCPTR ##### -->
|
<!-- ##### MACRO GST_DEBUG_FUNCPTR ##### -->
|
||||||
<para>
|
<para>
|
||||||
Register a pointer to a function with its name, so it can later be used by
|
Register a pointer to a function with its name, so it can later be used by
|
||||||
|
|
|
@ -70,28 +70,7 @@ gstutils
|
||||||
@type:
|
@type:
|
||||||
@type_as_function:
|
@type_as_function:
|
||||||
@parent_type:
|
@parent_type:
|
||||||
@\
|
@parent_type_macro:
|
||||||
parent_type_macro:
|
|
||||||
@\
|
|
||||||
parent_type_macro:
|
|
||||||
@\
|
|
||||||
parent_type_macro:
|
|
||||||
@\
|
|
||||||
parent_type_macro:
|
|
||||||
@\
|
|
||||||
parent_type_macro:
|
|
||||||
@\
|
|
||||||
parent_type_macro:
|
|
||||||
@\
|
|
||||||
parent_type_macro:
|
|
||||||
@\
|
|
||||||
parent_type_macro:
|
|
||||||
@\
|
|
||||||
parent_type_macro:
|
|
||||||
@\
|
|
||||||
parent_type_macro:
|
|
||||||
@\
|
|
||||||
parent_type_macro:
|
|
||||||
@additional_initializations:
|
@additional_initializations:
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ int
|
||||||
main (int argc, char *argv[])
|
main (int argc, char *argv[])
|
||||||
{
|
{
|
||||||
GstElement *filesrc, *osssink, *parse, *decode, *queue;
|
GstElement *filesrc, *osssink, *parse, *decode, *queue;
|
||||||
GstElement *bin;
|
GstElement *pipeline;
|
||||||
GstElement *thread;
|
GstElement *thread;
|
||||||
|
|
||||||
gst_init (&argc, &argv);
|
gst_init (&argc, &argv);
|
||||||
|
@ -19,9 +19,9 @@ main (int argc, char *argv[])
|
||||||
thread = gst_thread_new ("thread");
|
thread = gst_thread_new ("thread");
|
||||||
g_assert (thread != NULL);
|
g_assert (thread != NULL);
|
||||||
|
|
||||||
/* create a new bin to hold the elements */
|
/* create a new pipeline to hold the elements */
|
||||||
bin = gst_bin_new ("bin");
|
pipeline = gst_pipeline_new ("pipeline");
|
||||||
g_assert (bin != NULL);
|
g_assert (pipeline != NULL);
|
||||||
|
|
||||||
/* create a disk reader */
|
/* create a disk reader */
|
||||||
filesrc = gst_element_factory_make ("filesrc", "disk_source");
|
filesrc = gst_element_factory_make ("filesrc", "disk_source");
|
||||||
|
@ -29,7 +29,7 @@ main (int argc, char *argv[])
|
||||||
g_object_set (G_OBJECT (filesrc), "location", argv[1], NULL);
|
g_object_set (G_OBJECT (filesrc), "location", argv[1], NULL);
|
||||||
|
|
||||||
parse = gst_element_factory_make ("mp3parse", "parse");
|
parse = gst_element_factory_make ("mp3parse", "parse");
|
||||||
decode = gst_element_factory_make ("mpg123", "decode");
|
decode = gst_element_factory_make ("mad", "decode");
|
||||||
|
|
||||||
queue = gst_element_factory_make ("queue", "queue");
|
queue = gst_element_factory_make ("queue", "queue");
|
||||||
|
|
||||||
|
@ -38,19 +38,19 @@ main (int argc, char *argv[])
|
||||||
g_assert (osssink != NULL);
|
g_assert (osssink != NULL);
|
||||||
|
|
||||||
/* add objects to the main pipeline */
|
/* add objects to the main pipeline */
|
||||||
gst_bin_add_many (GST_BIN (bin), filesrc, parse, decode, queue, NULL);
|
gst_bin_add_many (GST_BIN (pipeline), filesrc, parse, decode, queue, NULL);
|
||||||
|
|
||||||
gst_bin_add (GST_BIN (thread), osssink);
|
gst_bin_add (GST_BIN (thread), osssink);
|
||||||
gst_bin_add (GST_BIN (bin), thread);
|
gst_bin_add (GST_BIN (pipeline), thread);
|
||||||
|
|
||||||
gst_element_link_many (filesrc, parse, decode, queue, osssink, NULL);
|
gst_element_link_many (filesrc, parse, decode, queue, osssink, NULL);
|
||||||
|
|
||||||
/* start playing */
|
/* start playing */
|
||||||
gst_element_set_state (GST_ELEMENT (bin), GST_STATE_PLAYING);
|
gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_PLAYING);
|
||||||
|
|
||||||
while (gst_bin_iterate (GST_BIN (bin)));
|
while (gst_bin_iterate (GST_BIN (pipeline)));
|
||||||
|
|
||||||
gst_element_set_state (GST_ELEMENT (bin), GST_STATE_NULL);
|
gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_NULL);
|
||||||
|
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,8 +46,7 @@ void gst_print_element_args (GString *buf, gint indent, GstElement *element)
|
||||||
void additional_initializations (GType type) is for initializing interfaces
|
void additional_initializations (GType type) is for initializing interfaces
|
||||||
and stuff like that */
|
and stuff like that */
|
||||||
|
|
||||||
#define GST_BOILERPLATE_FULL(type, type_as_function, parent_type, \
|
#define GST_BOILERPLATE_FULL(type, type_as_function, parent_type, parent_type_macro, additional_initializations) \
|
||||||
parent_type_macro, additional_initializations) \
|
|
||||||
\
|
\
|
||||||
static void type_as_function ## _base_init (gpointer g_class); \
|
static void type_as_function ## _base_init (gpointer g_class); \
|
||||||
static void type_as_function ## _class_init (type ## Class *g_class); \
|
static void type_as_function ## _class_init (type ## Class *g_class); \
|
||||||
|
|
|
@ -5,7 +5,7 @@ int
|
||||||
main (int argc, char *argv[])
|
main (int argc, char *argv[])
|
||||||
{
|
{
|
||||||
GstElement *filesrc, *osssink, *parse, *decode, *queue;
|
GstElement *filesrc, *osssink, *parse, *decode, *queue;
|
||||||
GstElement *bin;
|
GstElement *pipeline;
|
||||||
GstElement *thread;
|
GstElement *thread;
|
||||||
|
|
||||||
gst_init (&argc, &argv);
|
gst_init (&argc, &argv);
|
||||||
|
@ -19,9 +19,9 @@ main (int argc, char *argv[])
|
||||||
thread = gst_thread_new ("thread");
|
thread = gst_thread_new ("thread");
|
||||||
g_assert (thread != NULL);
|
g_assert (thread != NULL);
|
||||||
|
|
||||||
/* create a new bin to hold the elements */
|
/* create a new pipeline to hold the elements */
|
||||||
bin = gst_bin_new ("bin");
|
pipeline = gst_pipeline_new ("pipeline");
|
||||||
g_assert (bin != NULL);
|
g_assert (pipeline != NULL);
|
||||||
|
|
||||||
/* create a disk reader */
|
/* create a disk reader */
|
||||||
filesrc = gst_element_factory_make ("filesrc", "disk_source");
|
filesrc = gst_element_factory_make ("filesrc", "disk_source");
|
||||||
|
@ -29,7 +29,7 @@ main (int argc, char *argv[])
|
||||||
g_object_set (G_OBJECT (filesrc), "location", argv[1], NULL);
|
g_object_set (G_OBJECT (filesrc), "location", argv[1], NULL);
|
||||||
|
|
||||||
parse = gst_element_factory_make ("mp3parse", "parse");
|
parse = gst_element_factory_make ("mp3parse", "parse");
|
||||||
decode = gst_element_factory_make ("mpg123", "decode");
|
decode = gst_element_factory_make ("mad", "decode");
|
||||||
|
|
||||||
queue = gst_element_factory_make ("queue", "queue");
|
queue = gst_element_factory_make ("queue", "queue");
|
||||||
|
|
||||||
|
@ -38,19 +38,19 @@ main (int argc, char *argv[])
|
||||||
g_assert (osssink != NULL);
|
g_assert (osssink != NULL);
|
||||||
|
|
||||||
/* add objects to the main pipeline */
|
/* add objects to the main pipeline */
|
||||||
gst_bin_add_many (GST_BIN (bin), filesrc, parse, decode, queue, NULL);
|
gst_bin_add_many (GST_BIN (pipeline), filesrc, parse, decode, queue, NULL);
|
||||||
|
|
||||||
gst_bin_add (GST_BIN (thread), osssink);
|
gst_bin_add (GST_BIN (thread), osssink);
|
||||||
gst_bin_add (GST_BIN (bin), thread);
|
gst_bin_add (GST_BIN (pipeline), thread);
|
||||||
|
|
||||||
gst_element_link_many (filesrc, parse, decode, queue, osssink, NULL);
|
gst_element_link_many (filesrc, parse, decode, queue, osssink, NULL);
|
||||||
|
|
||||||
/* start playing */
|
/* start playing */
|
||||||
gst_element_set_state (GST_ELEMENT (bin), GST_STATE_PLAYING);
|
gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_PLAYING);
|
||||||
|
|
||||||
while (gst_bin_iterate (GST_BIN (bin)));
|
while (gst_bin_iterate (GST_BIN (pipeline)));
|
||||||
|
|
||||||
gst_element_set_state (GST_ELEMENT (bin), GST_STATE_NULL);
|
gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_NULL);
|
||||||
|
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue