removed unused flags from miniobject doc fixes

Original commit message from CVS:
* gst/gst.c:
* gst/gstminiobject.h:
* gst/gstpad.h:
* win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
removed unused flags from miniobject
doc fixes
This commit is contained in:
Stefan Kost 2005-10-12 19:10:46 +00:00
parent 03c022b64b
commit 2aaf1df98f
5 changed files with 19 additions and 11 deletions

View file

@ -1,3 +1,12 @@
2005-10-12 Stefan Kost <ensonic@users.sf.net>
* gst/gst.c:
* gst/gstminiobject.h:
* gst/gstpad.h:
* win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
removed unused flags from miniobject
doc fixes
2005-10-12 Wim Taymans <wim@fluendo.com> 2005-10-12 Wim Taymans <wim@fluendo.com>
* gst/elements/gstfilesink.c: (gst_file_sink_do_seek), * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),

View file

@ -359,9 +359,11 @@ gst_init_check (int *argc, char **argv[], GError ** err)
* Initializes the GStreamer library, setting up internal path lists, * Initializes the GStreamer library, setting up internal path lists,
* registering built-in elements, and loading standard plugins. * registering built-in elements, and loading standard plugins.
* *
* <note><para>
* This function will terminate your program if it was unable to initialize * This function will terminate your program if it was unable to initialize
* GStreamer for some reason. If you want your program to fall back, * GStreamer for some reason. If you want your program to fall back,
* use gst_init_check() instead. * use gst_init_check() instead.
* </para></note>
* *
* WARNING: This function does not work in the same way as corresponding * WARNING: This function does not work in the same way as corresponding
* functions in other glib-style libraries, such as gtk_init(). In * functions in other glib-style libraries, such as gtk_init(). In

View file

@ -86,7 +86,6 @@ typedef void (*GstMiniObjectFinalizeFunction) (GstMiniObject *);
/** /**
* GstMiniObjectFlags: * GstMiniObjectFlags:
* @GST_MINI_OBJECT_FLAG_READONLY: is the miniobject readonly or writable * @GST_MINI_OBJECT_FLAG_READONLY: is the miniobject readonly or writable
* @GST_MINI_OBJECT_FLAG_STATIC:
* @GST_MINI_OBJECT_FLAG_LAST: first flag that can be used by subclasses. * @GST_MINI_OBJECT_FLAG_LAST: first flag that can be used by subclasses.
* *
* Flags for the padtemplate * Flags for the padtemplate
@ -95,7 +94,6 @@ typedef void (*GstMiniObjectFinalizeFunction) (GstMiniObject *);
typedef enum typedef enum
{ {
GST_MINI_OBJECT_FLAG_READONLY = (1<<0), GST_MINI_OBJECT_FLAG_READONLY = (1<<0),
GST_MINI_OBJECT_FLAG_STATIC = (1<<1),
/* padding */ /* padding */
GST_MINI_OBJECT_FLAG_LAST = (1<<4) GST_MINI_OBJECT_FLAG_LAST = (1<<4)
} GstMiniObjectFlags; } GstMiniObjectFlags;

View file

@ -84,20 +84,20 @@ typedef enum {
* GST_PAD_LINK_SUCCESSFUL: * GST_PAD_LINK_SUCCESSFUL:
* @ret: the #GstPadLinkReturn value * @ret: the #GstPadLinkReturn value
* *
* Macro to test if the given #GstPadLinkReturn value indicates a successfull * Macro to test if the given #GstPadLinkReturn value indicates a successful
* link step. * link step.
*/ */
#define GST_PAD_LINK_SUCCESSFUL(ret) ((ret) >= GST_PAD_LINK_OK) #define GST_PAD_LINK_SUCCESSFUL(ret) ((ret) >= GST_PAD_LINK_OK)
/** /**
* GstFlowReturn: * GstFlowReturn:
* GST_FLOW_RESEND: Resend buffer, possibly with new caps. * @GST_FLOW_RESEND: Resend buffer, possibly with new caps.
* GST_FLOW_OK: Data passing was ok. * @GST_FLOW_OK: Data passing was ok.
* GST_FLOW_NOT_LINKED: Pad is not linked. * @GST_FLOW_NOT_LINKED: Pad is not linked.
* GST_FLOW_WRONG_STATE: Pad is in wrong state. * @GST_FLOW_WRONG_STATE: Pad is in wrong state.
* GST_FLOW_UNEXPECTED: Did not expect anything, like after EOS. * @GST_FLOW_UNEXPECTED: Did not expect anything, like after EOS.
* GST_FLOW_NOT_NEGOTIATED: Pad is not negotiated. * @GST_FLOW_NOT_NEGOTIATED: Pad is not negotiated.
* GST_FLOW_ERROR: Some (fatal) error occured. * @GST_FLOW_ERROR: Some (fatal) error occured.
* *
* The result of passing data to a linked pad. * The result of passing data to a linked pad.
*/ */

View file

@ -685,7 +685,6 @@ gst_mini_object_flags_get_type (void)
static const GFlagsValue values[] = { static const GFlagsValue values[] = {
{GST_MINI_OBJECT_FLAG_READONLY, "GST_MINI_OBJECT_FLAG_READONLY", {GST_MINI_OBJECT_FLAG_READONLY, "GST_MINI_OBJECT_FLAG_READONLY",
"readonly"}, "readonly"},
{GST_MINI_OBJECT_FLAG_STATIC, "GST_MINI_OBJECT_FLAG_STATIC", "static"},
{GST_MINI_OBJECT_FLAG_LAST, "GST_MINI_OBJECT_FLAG_LAST", "last"}, {GST_MINI_OBJECT_FLAG_LAST, "GST_MINI_OBJECT_FLAG_LAST", "last"},
{0, NULL, NULL} {0, NULL, NULL}
}; };