Added -Wall to configure.in

Original commit message from CVS:
Added -Wall to configure.in
This commit is contained in:
Wim Taymans 2001-01-01 06:59:49 +00:00
parent e70fb19402
commit 39a19ca625
6 changed files with 117 additions and 130 deletions

View file

@ -438,7 +438,7 @@ AM_CONDITIONAL(HAVE_CDPARANOIA, test "x$HAVE_CDPARANOIA" = "xyes")
AM_CONDITIONAL(HAVE_LIBLAME, test "x$HAVE_LIBLAME" = "xyes") AM_CONDITIONAL(HAVE_LIBLAME, test "x$HAVE_LIBLAME" = "xyes")
dnl CC="kgcc" dnl CC="kgcc"
CFLAGS="$CFLAGS -O6" CFLAGS="$CFLAGS -O6 -Wall"
dnl FIXME: having to AC_SUBST these is messy. Not sure if CPPFLAGS and LDFLAGS dnl FIXME: having to AC_SUBST these is messy. Not sure if CPPFLAGS and LDFLAGS
dnl need it, either. dnl need it, either.

View file

@ -31,68 +31,6 @@ to your application.
@args...: @args...:
<!-- ##### MACRO DEBUG ##### -->
<para>
Use this macro to show debugging info. This is only usefull when developing new
plugin elements.
If you #define DEBUG_ENABLED before including gst/gst.h, this macro will produce
g_print messages.
</para>
@format: the format specification as in g_print
@args...: arguments
<!-- ##### MACRO DEBUG_NOPREFIX ##### -->
<para>
</para>
@format:
@args...:
<!-- ##### MACRO DEBUG_ENTER ##### -->
<para>
</para>
@format:
@args...:
<!-- ##### MACRO DEBUG_SET_STRING ##### -->
<para>
</para>
@format:
@args...:
<!-- ##### MACRO DEBUG_ENTER_STRING ##### -->
<para>
</para>
<!-- ##### MACRO DEBUG_LEAVE ##### -->
<para>
</para>
@format:
@args...:
<!-- ##### MACRO DEBUG_LEAVE_STRING ##### -->
<para>
</para>
<!-- ##### MACRO GST_DEBUG_PAD_NAME ##### --> <!-- ##### MACRO GST_DEBUG_PAD_NAME ##### -->
<para> <para>
@ -145,27 +83,6 @@ g_print messages.
@string: @string:
<!-- ##### MACRO INFO ##### -->
<para>
</para>
@cat:
@format:
@args...:
<!-- ##### MACRO INFO_ELEMENT ##### -->
<para>
</para>
@cat:
@element:
@format:
@args...:
<!-- ##### USER_FUNCTION GstErrorHandler ##### --> <!-- ##### USER_FUNCTION GstErrorHandler ##### -->
<para> <para>
@ -194,24 +111,3 @@ g_print messages.
@string: @string:
<!-- ##### MACRO ERROR ##### -->
<para>
</para>
@element:
@format:
@args...:
<!-- ##### MACRO ERROR_OBJECT ##### -->
<para>
</para>
@element:
@object:
@format:
@args...:

View file

@ -24,7 +24,9 @@ GStreamer is extensible so <classname>GstElements</classname> can be loaded at r
@longname: @longname:
@filename: @filename:
@types: @types:
@numtypes:
@elements: @elements:
@numelements:
@loaded: @loaded:
<!-- ##### STRUCT GstPluginElement ##### --> <!-- ##### STRUCT GstPluginElement ##### -->

View file

@ -17,6 +17,14 @@
</para> </para>
<!-- ##### MACRO DEBUG_SET_STRING ##### -->
<para>
</para>
@format:
@args...:
<!-- ##### FUNCTION gst_type_add_sink ##### --> <!-- ##### FUNCTION gst_type_add_sink ##### -->
<para> <para>
@ -137,6 +145,14 @@ the stream.
@obj: @obj:
<!-- ##### MACRO DEBUG_ENTER ##### -->
<para>
</para>
@format:
@args...:
<!-- ##### MACRO GST_IS_HTTPSRC ##### --> <!-- ##### MACRO GST_IS_HTTPSRC ##### -->
<para> <para>
@ -201,13 +217,6 @@ the stream.
</para> </para>
<!-- ##### FUNCTION gst_object_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### MACRO GST_SINESRC ##### --> <!-- ##### MACRO GST_SINESRC ##### -->
<para> <para>
@ -215,12 +224,30 @@ the stream.
@obj: @obj:
<!-- ##### FUNCTION gst_object_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### SECTION ./tmpl/plugin.sgml:Long_Description ##### --> <!-- ##### SECTION ./tmpl/plugin.sgml:Long_Description ##### -->
<para> <para>
</para> </para>
<!-- ##### MACRO DEBUG ##### -->
<para>
Use this macro to show debugging info. This is only usefull when developing new
plugin elements.
If you #define DEBUG_ENABLED before including gst/gst.h, this macro will produce
g_print messages.
</para>
@format: the format specification as in g_print
@args...: arguments
<!-- ##### FUNCTION gst_audiosrc_get_type ##### --> <!-- ##### FUNCTION gst_audiosrc_get_type ##### -->
<para> <para>
@ -235,6 +262,12 @@ the stream.
@klass: @klass:
<!-- ##### MACRO DEBUG_LEAVE_STRING ##### -->
<para>
</para>
<!-- ##### SECTION ./tmpl/gstconnection.sgml:See_Also ##### --> <!-- ##### SECTION ./tmpl/gstconnection.sgml:See_Also ##### -->
<para> <para>
@ -429,6 +462,15 @@ elements. A connection is typically a bas class for queues.
@pad: @pad:
@buf: @buf:
<!-- ##### MACRO INFO ##### -->
<para>
</para>
@cat:
@format:
@args...:
<!-- ##### FUNCTION gst_type_get_sinks ##### --> <!-- ##### FUNCTION gst_type_get_sinks ##### -->
<para> <para>
@ -583,6 +625,14 @@ Take data in and spit data out
@name: @name:
@Returns: @Returns:
<!-- ##### MACRO DEBUG_NOPREFIX ##### -->
<para>
</para>
@format:
@args...:
<!-- ##### MACRO GST_QUEUE ##### --> <!-- ##### MACRO GST_QUEUE ##### -->
<para> <para>
@ -636,6 +686,15 @@ GstGetbits
@klass: @klass:
<!-- ##### MACRO ERROR ##### -->
<para>
</para>
@element:
@format:
@args...:
<!-- ##### MACRO GST_IS_PAD_CLASS ##### --> <!-- ##### MACRO GST_IS_PAD_CLASS ##### -->
<para> <para>
@ -819,6 +878,12 @@ This macro unsets the given state on the element.
@obj: Element to unset state of. @obj: Element to unset state of.
@flag: State to unset, can be any number of bits in guint32. @flag: State to unset, can be any number of bits in guint32.
<!-- ##### STRUCT GstDiskSrc ##### -->
<para>
</para>
<!-- ##### MACRO GST_SRC_FLAGS ##### --> <!-- ##### MACRO GST_SRC_FLAGS ##### -->
<para> <para>
This macro returns the entire set of flags for the object. This macro returns the entire set of flags for the object.
@ -826,12 +891,6 @@ This macro returns the entire set of flags for the object.
@obj: GstSrc to return flags for. @obj: GstSrc to return flags for.
<!-- ##### STRUCT GstDiskSrc ##### -->
<para>
</para>
<!-- ##### FUNCTION gst_sink_get_type ##### --> <!-- ##### FUNCTION gst_sink_get_type ##### -->
<para> <para>
@ -907,6 +966,14 @@ The start point of a filter graph
<!-- ##### MACRO DEBUG_LEAVE ##### -->
<para>
</para>
@format:
@args...:
<!-- ##### MACRO GST_ASYNCDISKSRC_CLASS ##### --> <!-- ##### MACRO GST_ASYNCDISKSRC_CLASS ##### -->
<para> <para>
@ -978,6 +1045,12 @@ This macro sets the given state on the element.
@obj: Element to set state of. @obj: Element to set state of.
@flag: State to set, can be any number of bits in guint32. @flag: State to set, can be any number of bits in guint32.
<!-- ##### MACRO DEBUG_ENTER_STRING ##### -->
<para>
</para>
<!-- ##### MACRO GST_AUDIOSRC_CLASS ##### --> <!-- ##### MACRO GST_AUDIOSRC_CLASS ##### -->
<para> <para>
@ -1558,6 +1631,16 @@ subclass use this to start their flag enumeration
</para> </para>
<!-- ##### MACRO ERROR_OBJECT ##### -->
<para>
</para>
@element:
@object:
@format:
@args...:
<!-- ##### ENUM GstSrcFlags ##### --> <!-- ##### ENUM GstSrcFlags ##### -->
<para> <para>
Flags for the GstSrc element Flags for the GstSrc element
@ -1655,6 +1738,12 @@ Flags for the GstSrc element
@Returns: @Returns:
<!-- ##### TYPEDEF GstPropsListFactory[] ##### -->
<para>
</para>
<!-- ##### FUNCTION gst_pad_get_type_id ##### --> <!-- ##### FUNCTION gst_pad_get_type_id ##### -->
<para> <para>
@ -1663,12 +1752,6 @@ Flags for the GstSrc element
@pad: @pad:
@Returns: @Returns:
<!-- ##### TYPEDEF GstPropsListFactory[] ##### -->
<para>
</para>
<!-- ##### SECTION ./tmpl/gstsink.sgml:See_Also ##### --> <!-- ##### SECTION ./tmpl/gstsink.sgml:See_Also ##### -->
<para> <para>
@ -2049,6 +2132,16 @@ GstFilter
@Returns: @Returns:
<!-- ##### MACRO INFO_ELEMENT ##### -->
<para>
</para>
@cat:
@element:
@format:
@args...:
<!-- ##### MACRO GST_SRC ##### --> <!-- ##### MACRO GST_SRC ##### -->
<para> <para>

View file

@ -59,16 +59,14 @@ int main(int argc,char *argv[])
/* add objects to the main pipeline */ /* add objects to the main pipeline */
gst_pipeline_add_src(GST_PIPELINE(pipeline), disksrc); gst_pipeline_add_src(GST_PIPELINE(pipeline), disksrc);
gst_pipeline_add_sink(GST_PIPELINE(pipeline), audiosink);
gst_pipeline_add_sink(GST_PIPELINE(pipeline), videosink); gst_pipeline_add_sink(GST_PIPELINE(pipeline), videosink);
gst_pipeline_add_sink(GST_PIPELINE(pipeline), audiosink);
if (!gst_pipeline_autoplug(GST_PIPELINE(pipeline))) { if (!gst_pipeline_autoplug(GST_PIPELINE(pipeline))) {
g_print("unable to handle stream\n"); g_print("unable to handle stream\n");
exit(-1); exit(-1);
} }
/* make it ready */
gst_element_set_state(GST_ELEMENT(pipeline), GST_STATE_READY);
/* start playing */ /* start playing */
gst_element_set_state(GST_ELEMENT(pipeline), GST_STATE_PLAYING); gst_element_set_state(GST_ELEMENT(pipeline), GST_STATE_PLAYING);

View file

@ -59,16 +59,14 @@ int main(int argc,char *argv[])
/* add objects to the main pipeline */ /* add objects to the main pipeline */
gst_pipeline_add_src(GST_PIPELINE(pipeline), disksrc); gst_pipeline_add_src(GST_PIPELINE(pipeline), disksrc);
gst_pipeline_add_sink(GST_PIPELINE(pipeline), audiosink);
gst_pipeline_add_sink(GST_PIPELINE(pipeline), videosink); gst_pipeline_add_sink(GST_PIPELINE(pipeline), videosink);
gst_pipeline_add_sink(GST_PIPELINE(pipeline), audiosink);
if (!gst_pipeline_autoplug(GST_PIPELINE(pipeline))) { if (!gst_pipeline_autoplug(GST_PIPELINE(pipeline))) {
g_print("unable to handle stream\n"); g_print("unable to handle stream\n");
exit(-1); exit(-1);
} }
/* make it ready */
gst_element_set_state(GST_ELEMENT(pipeline), GST_STATE_READY);
/* start playing */ /* start playing */
gst_element_set_state(GST_ELEMENT(pipeline), GST_STATE_PLAYING); gst_element_set_state(GST_ELEMENT(pipeline), GST_STATE_PLAYING);