mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
Added -Wall to configure.in
Original commit message from CVS: Added -Wall to configure.in
This commit is contained in:
parent
e70fb19402
commit
39a19ca625
6 changed files with 117 additions and 130 deletions
|
@ -438,7 +438,7 @@ AM_CONDITIONAL(HAVE_CDPARANOIA, test "x$HAVE_CDPARANOIA" = "xyes")
|
|||
AM_CONDITIONAL(HAVE_LIBLAME, test "x$HAVE_LIBLAME" = "xyes")
|
||||
|
||||
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 need it, either.
|
||||
|
|
|
@ -31,68 +31,6 @@ to your application.
|
|||
@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 ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -145,27 +83,6 @@ g_print messages.
|
|||
@string:
|
||||
|
||||
|
||||
<!-- ##### MACRO INFO ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@cat:
|
||||
@format:
|
||||
@args...:
|
||||
|
||||
|
||||
<!-- ##### MACRO INFO_ELEMENT ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@cat:
|
||||
@element:
|
||||
@format:
|
||||
@args...:
|
||||
|
||||
|
||||
<!-- ##### USER_FUNCTION GstErrorHandler ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -194,24 +111,3 @@ g_print messages.
|
|||
@string:
|
||||
|
||||
|
||||
<!-- ##### MACRO ERROR ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@element:
|
||||
@format:
|
||||
@args...:
|
||||
|
||||
|
||||
<!-- ##### MACRO ERROR_OBJECT ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@element:
|
||||
@object:
|
||||
@format:
|
||||
@args...:
|
||||
|
||||
|
||||
|
|
|
@ -24,7 +24,9 @@ GStreamer is extensible so <classname>GstElements</classname> can be loaded at r
|
|||
@longname:
|
||||
@filename:
|
||||
@types:
|
||||
@numtypes:
|
||||
@elements:
|
||||
@numelements:
|
||||
@loaded:
|
||||
|
||||
<!-- ##### STRUCT GstPluginElement ##### -->
|
||||
|
|
|
@ -17,6 +17,14 @@
|
|||
</para>
|
||||
|
||||
|
||||
<!-- ##### MACRO DEBUG_SET_STRING ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@format:
|
||||
@args...:
|
||||
|
||||
<!-- ##### FUNCTION gst_type_add_sink ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -137,6 +145,14 @@ the stream.
|
|||
|
||||
@obj:
|
||||
|
||||
<!-- ##### MACRO DEBUG_ENTER ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@format:
|
||||
@args...:
|
||||
|
||||
<!-- ##### MACRO GST_IS_HTTPSRC ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -201,13 +217,6 @@ the stream.
|
|||
</para>
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_object_get_type ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@Returns:
|
||||
|
||||
<!-- ##### MACRO GST_SINESRC ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -215,12 +224,30 @@ the stream.
|
|||
|
||||
@obj:
|
||||
|
||||
<!-- ##### FUNCTION gst_object_get_type ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@Returns:
|
||||
|
||||
<!-- ##### SECTION ./tmpl/plugin.sgml:Long_Description ##### -->
|
||||
<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 ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -235,6 +262,12 @@ the stream.
|
|||
|
||||
@klass:
|
||||
|
||||
<!-- ##### MACRO DEBUG_LEAVE_STRING ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### SECTION ./tmpl/gstconnection.sgml:See_Also ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -429,6 +462,15 @@ elements. A connection is typically a bas class for queues.
|
|||
@pad:
|
||||
@buf:
|
||||
|
||||
<!-- ##### MACRO INFO ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@cat:
|
||||
@format:
|
||||
@args...:
|
||||
|
||||
<!-- ##### FUNCTION gst_type_get_sinks ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -583,6 +625,14 @@ Take data in and spit data out
|
|||
@name:
|
||||
@Returns:
|
||||
|
||||
<!-- ##### MACRO DEBUG_NOPREFIX ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@format:
|
||||
@args...:
|
||||
|
||||
<!-- ##### MACRO GST_QUEUE ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -636,6 +686,15 @@ GstGetbits
|
|||
|
||||
@klass:
|
||||
|
||||
<!-- ##### MACRO ERROR ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@element:
|
||||
@format:
|
||||
@args...:
|
||||
|
||||
<!-- ##### MACRO GST_IS_PAD_CLASS ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -819,6 +878,12 @@ This macro unsets the given state on the element.
|
|||
@obj: Element to unset state of.
|
||||
@flag: State to unset, can be any number of bits in guint32.
|
||||
|
||||
<!-- ##### STRUCT GstDiskSrc ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### MACRO GST_SRC_FLAGS ##### -->
|
||||
<para>
|
||||
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.
|
||||
|
||||
<!-- ##### STRUCT GstDiskSrc ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_sink_get_type ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -907,6 +966,14 @@ The start point of a filter graph
|
|||
|
||||
|
||||
|
||||
<!-- ##### MACRO DEBUG_LEAVE ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@format:
|
||||
@args...:
|
||||
|
||||
<!-- ##### MACRO GST_ASYNCDISKSRC_CLASS ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -978,6 +1045,12 @@ This macro sets the given state on the element.
|
|||
@obj: Element to set state of.
|
||||
@flag: State to set, can be any number of bits in guint32.
|
||||
|
||||
<!-- ##### MACRO DEBUG_ENTER_STRING ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### MACRO GST_AUDIOSRC_CLASS ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -1558,6 +1631,16 @@ subclass use this to start their flag enumeration
|
|||
</para>
|
||||
|
||||
|
||||
<!-- ##### MACRO ERROR_OBJECT ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@element:
|
||||
@object:
|
||||
@format:
|
||||
@args...:
|
||||
|
||||
<!-- ##### ENUM GstSrcFlags ##### -->
|
||||
<para>
|
||||
Flags for the GstSrc element
|
||||
|
@ -1655,6 +1738,12 @@ Flags for the GstSrc element
|
|||
|
||||
@Returns:
|
||||
|
||||
<!-- ##### TYPEDEF GstPropsListFactory[] ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gst_pad_get_type_id ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -1663,12 +1752,6 @@ Flags for the GstSrc element
|
|||
@pad:
|
||||
@Returns:
|
||||
|
||||
<!-- ##### TYPEDEF GstPropsListFactory[] ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### SECTION ./tmpl/gstsink.sgml:See_Also ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -2049,6 +2132,16 @@ GstFilter
|
|||
|
||||
@Returns:
|
||||
|
||||
<!-- ##### MACRO INFO_ELEMENT ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@cat:
|
||||
@element:
|
||||
@format:
|
||||
@args...:
|
||||
|
||||
<!-- ##### MACRO GST_SRC ##### -->
|
||||
<para>
|
||||
|
||||
|
|
|
@ -59,16 +59,14 @@ int main(int argc,char *argv[])
|
|||
|
||||
/* add objects to the main pipeline */
|
||||
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), audiosink);
|
||||
|
||||
if (!gst_pipeline_autoplug(GST_PIPELINE(pipeline))) {
|
||||
g_print("unable to handle stream\n");
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
/* make it ready */
|
||||
gst_element_set_state(GST_ELEMENT(pipeline), GST_STATE_READY);
|
||||
/* start playing */
|
||||
gst_element_set_state(GST_ELEMENT(pipeline), GST_STATE_PLAYING);
|
||||
|
||||
|
|
|
@ -59,16 +59,14 @@ int main(int argc,char *argv[])
|
|||
|
||||
/* add objects to the main pipeline */
|
||||
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), audiosink);
|
||||
|
||||
if (!gst_pipeline_autoplug(GST_PIPELINE(pipeline))) {
|
||||
g_print("unable to handle stream\n");
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
/* make it ready */
|
||||
gst_element_set_state(GST_ELEMENT(pipeline), GST_STATE_READY);
|
||||
/* start playing */
|
||||
gst_element_set_state(GST_ELEMENT(pipeline), GST_STATE_PLAYING);
|
||||
|
||||
|
|
Loading…
Reference in a new issue