mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
quick shell oneliner to find undocumented members in docs/README more enumtypes cleanup activated documentation comme...
Original commit message from CVS: quick shell oneliner to find undocumented members in docs/README more enumtypes cleanup activated documentation comments, now someone needs to document the enums :(
This commit is contained in:
parent
39ca8fc483
commit
e2de071d42
7 changed files with 107 additions and 23 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
||||||
|
2005-01-04 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
|
* docs/README:
|
||||||
|
quick shell oneliner to find undocumented members
|
||||||
|
* docs/gst/tmpl/gstplugin.sgml:
|
||||||
|
* docs/gst/tmpl/gstscheduler.sgml:
|
||||||
|
* docs/gst/tmpl/gstthread.sgml:
|
||||||
|
more enumtypes cleanup
|
||||||
|
* gst/gsterror.h:
|
||||||
|
activated documentation comments, now someone needs to document the enums :(
|
||||||
|
|
||||||
2005-01-03 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
2005-01-03 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
* docs/manual/manual.xml:
|
* docs/manual/manual.xml:
|
||||||
|
|
|
@ -119,7 +119,10 @@ GTK-DOC NOTES
|
||||||
- add all documented symbols to gstreamer-sections.txt in the proper section
|
- add all documented symbols to gstreamer-sections.txt in the proper section
|
||||||
(default),<SUBSECTION Standard>,<SUBSECTION Private>
|
(default),<SUBSECTION Standard>,<SUBSECTION Private>
|
||||||
- document at least the Short_Description in tmpl/.sgml
|
- document at least the Short_Description in tmpl/.sgml
|
||||||
- signals: document them properly in tmpl/.sgml (or better in the c-source)
|
- document symbols where they are definied, so that when one changes the
|
||||||
|
definition, the chaces are good that docs are updated.
|
||||||
|
- document functions, signals in the .c files
|
||||||
|
- document structs, typedefs, enums in the .h files
|
||||||
|
|
||||||
* checklist:
|
* checklist:
|
||||||
- make sure *-sections.txt has a <TITLE> set for each <FILE>
|
- make sure *-sections.txt has a <TITLE> set for each <FILE>
|
||||||
|
@ -134,6 +137,9 @@ GTK-DOC NOTES
|
||||||
grep "_get_type" gstreamer-sections.txt | sort
|
grep "_get_type" gstreamer-sections.txt | sort
|
||||||
with the types in XXX.types to detect entries that
|
with the types in XXX.types to detect entries that
|
||||||
are maybe missing
|
are maybe missing
|
||||||
|
- gtk docs does not warns about empty member docs!, run
|
||||||
|
find . -name "*.[c,h]" -exec egrep -Hn "^ +\* +@.*: *$" {} \; | wc -l
|
||||||
|
in the project root to find them
|
||||||
|
|
||||||
* what happens during a gtk-doc build ?
|
* what happens during a gtk-doc build ?
|
||||||
- headers are scanned based on $(MODULE).types
|
- headers are scanned based on $(MODULE).types
|
||||||
|
|
|
@ -56,7 +56,7 @@ The plugin loading errors
|
||||||
|
|
||||||
@GST_PLUGIN_ERROR_MODULE: The plugin could not be loaded
|
@GST_PLUGIN_ERROR_MODULE: The plugin could not be loaded
|
||||||
@GST_PLUGIN_ERROR_DEPENDENCIES: The plugin has unresolved dependencies
|
@GST_PLUGIN_ERROR_DEPENDENCIES: The plugin has unresolved dependencies
|
||||||
@GST_PLUGIN_ERROR_NAME_MISMATCH:
|
@GST_PLUGIN_ERROR_NAME_MISMATCH: The plugin has already be loaded from a different file
|
||||||
|
|
||||||
<!-- ##### STRUCT GstPlugin ##### -->
|
<!-- ##### STRUCT GstPlugin ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
|
@ -25,8 +25,8 @@ This is a base class for custom schedulers.
|
||||||
Flags for the scheduler
|
Flags for the scheduler
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@GST_SCHEDULER_FLAG_FIXED_CLOCK: The scheduler has a fixed clock
|
@GST_SCHEDULER_FLAG_FIXED_CLOCK: the scheduler works with a fixed clock
|
||||||
@GST_SCHEDULER_FLAG_NEW_API:
|
@GST_SCHEDULER_FLAG_NEW_API: the scheduler supports select and lock calls
|
||||||
@GST_SCHEDULER_FLAG_LAST: subclasses can start numbering their flags starting
|
@GST_SCHEDULER_FLAG_LAST: subclasses can start numbering their flags starting
|
||||||
from here.
|
from here.
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ Flags about the current thread state
|
||||||
|
|
||||||
@GST_THREAD_STATE_SPINNING: The thread is runnning
|
@GST_THREAD_STATE_SPINNING: The thread is runnning
|
||||||
@GST_THREAD_STATE_REAPING: The thread is ending
|
@GST_THREAD_STATE_REAPING: The thread is ending
|
||||||
@GST_THREAD_STATE_WAITING:
|
@GST_THREAD_STATE_WAITING: The thread is waiting to be run again
|
||||||
@GST_THREAD_FLAG_LAST: subclass use this to start their enumeration
|
@GST_THREAD_FLAG_LAST: subclass use this to start their enumeration
|
||||||
|
|
||||||
<!-- ##### FUNCTION gst_thread_new ##### -->
|
<!-- ##### FUNCTION gst_thread_new ##### -->
|
||||||
|
|
|
@ -62,6 +62,15 @@ $Id$
|
||||||
- a slower version with higher precission that can be used for off-line
|
- a slower version with higher precission that can be used for off-line
|
||||||
rendering
|
rendering
|
||||||
* new interfaces for audio applications
|
* new interfaces for audio applications
|
||||||
|
* GST_TYPE_MULTI_VOICE
|
||||||
|
- control interface for elements that support multiple voices (in one output-pad)
|
||||||
|
- API:
|
||||||
|
gulong number_of_voices;
|
||||||
|
void add_voice();
|
||||||
|
void remove_last_voice();
|
||||||
|
gulong get_number_of_voices();
|
||||||
|
- features
|
||||||
|
- plugin will initially have one voice and that one can not be deleted
|
||||||
* GST_TYPE_MUSIC_GENERATOR
|
* GST_TYPE_MUSIC_GENERATOR
|
||||||
- add hints so that application can use a element as an instrument
|
- add hints so that application can use a element as an instrument
|
||||||
- API:
|
- API:
|
||||||
|
|
|
@ -34,8 +34,25 @@ G_BEGIN_DECLS
|
||||||
*
|
*
|
||||||
* Check GError API docs for rationale for naming.
|
* Check GError API docs for rationale for naming.
|
||||||
*/
|
*/
|
||||||
/* Core errors are anything that can go wrong in or using
|
/**
|
||||||
* the core GStreamer library */
|
* GstCoreError:
|
||||||
|
* @GST_CORE_ERROR_FAILED:
|
||||||
|
* @GST_CORE_ERROR_TOO_LAZY:
|
||||||
|
* @GST_CORE_ERROR_NOT_IMPLEMENTED:
|
||||||
|
* @GST_CORE_ERROR_STATE_CHANGE:
|
||||||
|
* @GST_CORE_ERROR_PAD:
|
||||||
|
* @GST_CORE_ERROR_THREAD:
|
||||||
|
* @GST_CORE_ERROR_SCHEDULER:
|
||||||
|
* @GST_CORE_ERROR_NEGOTIATION:
|
||||||
|
* @GST_CORE_ERROR_EVENT:
|
||||||
|
* @GST_CORE_ERROR_SEEK:
|
||||||
|
* @GST_CORE_ERROR_CAPS:
|
||||||
|
* @GST_CORE_ERROR_TAG:
|
||||||
|
* @GST_CORE_ERROR_NUM_ERRORS:
|
||||||
|
*
|
||||||
|
* Core errors are anything that can go wrong in or using
|
||||||
|
* the core GStreamer library
|
||||||
|
*/
|
||||||
/* FIXME: should we divide in numerical blocks so we can easily add
|
/* FIXME: should we divide in numerical blocks so we can easily add
|
||||||
for example PAD errors later ? */
|
for example PAD errors later ? */
|
||||||
typedef enum
|
typedef enum
|
||||||
|
@ -53,11 +70,21 @@ typedef enum
|
||||||
GST_CORE_ERROR_CAPS,
|
GST_CORE_ERROR_CAPS,
|
||||||
GST_CORE_ERROR_TAG,
|
GST_CORE_ERROR_TAG,
|
||||||
GST_CORE_ERROR_NUM_ERRORS
|
GST_CORE_ERROR_NUM_ERRORS
|
||||||
}
|
} GstCoreError;
|
||||||
GstCoreError;
|
|
||||||
|
|
||||||
/* Library errors are for errors from the library being used by elements
|
/**
|
||||||
initializing, closing, ... */
|
* GstLibraryError:
|
||||||
|
* @GST_LIBRARY_ERROR_FAILED:
|
||||||
|
* @GST_LIBRARY_ERROR_TOO_LAZY:
|
||||||
|
* @GST_LIBRARY_ERROR_INIT:
|
||||||
|
* @GST_LIBRARY_ERROR_SHUTDOWN:
|
||||||
|
* @GST_LIBRARY_ERROR_SETTINGS:
|
||||||
|
* @GST_LIBRARY_ERROR_ENCODE:
|
||||||
|
* @GST_LIBRARY_ERROR_NUM_ERRORS:
|
||||||
|
*
|
||||||
|
* Library errors are for errors from the library being used by elements
|
||||||
|
* initializing, closing, ...
|
||||||
|
*/
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
GST_LIBRARY_ERROR_FAILED = 1,
|
GST_LIBRARY_ERROR_FAILED = 1,
|
||||||
|
@ -67,12 +94,29 @@ typedef enum
|
||||||
GST_LIBRARY_ERROR_SETTINGS,
|
GST_LIBRARY_ERROR_SETTINGS,
|
||||||
GST_LIBRARY_ERROR_ENCODE,
|
GST_LIBRARY_ERROR_ENCODE,
|
||||||
GST_LIBRARY_ERROR_NUM_ERRORS
|
GST_LIBRARY_ERROR_NUM_ERRORS
|
||||||
}
|
} GstLibraryError;
|
||||||
GstLibraryError;
|
|
||||||
|
|
||||||
/* Resource errors are for anything external used by an element:
|
/**
|
||||||
memory, files, network connections, process space, ...
|
* GstResourceError:
|
||||||
They're typically used by source and sink elements */
|
* @GST_RESOURCE_ERROR_FAILED:
|
||||||
|
* @GST_RESOURCE_ERROR_TOO_LAZY:
|
||||||
|
* @GST_RESOURCE_ERROR_NOT_FOUND:
|
||||||
|
* @GST_RESOURCE_ERROR_BUSY:
|
||||||
|
* @GST_RESOURCE_ERROR_OPEN_READ:
|
||||||
|
* @GST_RESOURCE_ERROR_OPEN_WRITE:
|
||||||
|
* @GST_RESOURCE_ERROR_OPEN_READ_WRITE:
|
||||||
|
* @GST_RESOURCE_ERROR_CLOSE:
|
||||||
|
* @GST_RESOURCE_ERROR_READ:
|
||||||
|
* @GST_RESOURCE_ERROR_WRITE:
|
||||||
|
* @GST_RESOURCE_ERROR_SEEK:
|
||||||
|
* @GST_RESOURCE_ERROR_SYNC:
|
||||||
|
* @GST_RESOURCE_ERROR_SETTINGS:
|
||||||
|
* @GST_RESOURCE_ERROR_NUM_ERRORS:
|
||||||
|
*
|
||||||
|
* Resource errors are for anything external used by an element:
|
||||||
|
* memory, files, network connections, process space, ...
|
||||||
|
* They're typically used by source and sink elements
|
||||||
|
*/
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
GST_RESOURCE_ERROR_FAILED = 1,
|
GST_RESOURCE_ERROR_FAILED = 1,
|
||||||
|
@ -89,12 +133,27 @@ typedef enum
|
||||||
GST_RESOURCE_ERROR_SYNC,
|
GST_RESOURCE_ERROR_SYNC,
|
||||||
GST_RESOURCE_ERROR_SETTINGS,
|
GST_RESOURCE_ERROR_SETTINGS,
|
||||||
GST_RESOURCE_ERROR_NUM_ERRORS
|
GST_RESOURCE_ERROR_NUM_ERRORS
|
||||||
}
|
} GstResourceError;
|
||||||
GstResourceError;
|
|
||||||
|
|
||||||
/* Stream errors are for anything related to the stream being processed:
|
/**
|
||||||
format errors, media type errors, ...
|
* GstStreamError:
|
||||||
They're typically used by decoders, demuxers, converters, ... */
|
* @GST_STREAM_ERROR_FAILED:
|
||||||
|
* @GST_STREAM_ERROR_TOO_LAZY:
|
||||||
|
* @GST_STREAM_ERROR_NOT_IMPLEMENTED:
|
||||||
|
* @GST_STREAM_ERROR_TYPE_NOT_FOUND:
|
||||||
|
* @GST_STREAM_ERROR_WRONG_TYPE:
|
||||||
|
* @GST_STREAM_ERROR_CODEC_NOT_FOUND:
|
||||||
|
* @GST_STREAM_ERROR_DECODE:
|
||||||
|
* @GST_STREAM_ERROR_ENCODE:
|
||||||
|
* @GST_STREAM_ERROR_DEMUX:
|
||||||
|
* @GST_STREAM_ERROR_MUX:
|
||||||
|
* @GST_STREAM_ERROR_FORMAT:
|
||||||
|
* @GST_STREAM_ERROR_NUM_ERRORS:
|
||||||
|
*
|
||||||
|
* Stream errors are for anything related to the stream being processed:
|
||||||
|
* format errors, media type errors, ...
|
||||||
|
* They're typically used by decoders, demuxers, converters, ...
|
||||||
|
*/
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
GST_STREAM_ERROR_FAILED = 1,
|
GST_STREAM_ERROR_FAILED = 1,
|
||||||
|
@ -109,8 +168,7 @@ typedef enum
|
||||||
GST_STREAM_ERROR_MUX,
|
GST_STREAM_ERROR_MUX,
|
||||||
GST_STREAM_ERROR_FORMAT,
|
GST_STREAM_ERROR_FORMAT,
|
||||||
GST_STREAM_ERROR_NUM_ERRORS
|
GST_STREAM_ERROR_NUM_ERRORS
|
||||||
}
|
} GstStreamError;
|
||||||
GstStreamError;
|
|
||||||
|
|
||||||
/* This should go away once we convinced glib people to register GError */
|
/* This should go away once we convinced glib people to register GError */
|
||||||
#define GST_TYPE_G_ERROR (gst_g_error_get_type ())
|
#define GST_TYPE_G_ERROR (gst_g_error_get_type ())
|
||||||
|
|
Loading…
Reference in a new issue