Fix compile problem due to DEBUG being redefined in libs/getbits/gstgetbits.h. Also fix several small typos in the d...

Original commit message from CVS:
Fix compile problem due to DEBUG being redefined in
libs/getbits/gstgetbits.h.  Also fix several small typos in the docs and
examples.
This commit is contained in:
Richard Boulton 2000-09-18 22:19:57 +00:00
parent cab1728fa5
commit f8666a569f
6 changed files with 10 additions and 9 deletions

View file

@ -45,9 +45,9 @@ fi
libtoolize --copy --force
aclocal $ACLOCAL_FLAGS
automake --add-missing
autoheader
autoconf
automake --add-missing
if [ "x$1" = "x--autogen-recurse" ];then
exit # the rest will happen later

View file

@ -15,8 +15,8 @@
<title>Autoplugging helloworld</title>
<para>
We will create a second version of the helloworld application using
autoplugging. Its source code is considerably more easy to write and
can also handle much more data types.
autoplugging. Its source code is considerably easier to write and
it can also handle many more data types.
</para>
<programlisting>
@ -91,7 +91,7 @@ int main(int argc,char *argv[])
</programlisting>
<para>
first of all, we do not use any mpg123 or mp3parse element in this example.
First of all, we do not use any mpg123 or mp3parse element in this example.
In fact, we only specify a source element and a sink element and add them
to a pipeline.
</para>
@ -149,7 +149,7 @@ int main(int argc,char *argv[])
</para>
<para>
I you really want, you can use the GSteamer components to do the
If you really want, you can use the GSteamer components to do the
autoplugging yourself.
</para>

View file

@ -396,7 +396,7 @@
Wim Taymans, plugin hacker
Richard Boulton, makefile hacker
</authors>
<comments>A generice media player for the gstreamer streaming media framework.</comments>
<comments>A generic media player for the gstreamer streaming media framework.</comments>
</widget>
<widget>

View file

@ -9,7 +9,7 @@ GSTARCH_SRCS =
endif
libgstgetbits_la_SOURCES = gstgetbits.c gstgetbits_inl.h gstgetbits_generic.c $(GSTARCH_SRCS)
EXTRA_libgstgetbits_la_SOURCES = gstgetbits_i386.s gstgetbits_generic.c
EXTRA_libgstgetbits_la_SOURCES = gstgetbits_i386.s
libgstgetbitsincludedir = $(includedir)/gst/libs/gstgetbits
libgstgetbitsinclude_HEADERS = gstgetbits.h

View file

@ -17,12 +17,14 @@
#endif /* HAVE_LIBSSE */
// FIXME - let configure set DEBUG_ENABLED.
//#define DEBUG_ENABLED
/* debugging */
#ifndef DEBUG
#ifdef DEBUG_ENABLED
#define DEBUG(format, args...) g_print("DEBUG:(%d) " format, getpid() , ##args)
#else
#define DEBUG(format, args...)
#endif
#endif
#ifdef WORDS_BIGENDIAN

View file

@ -42,7 +42,6 @@ int main(int argc,char *argv[]) {
gst_element_get_pad(wave,"sink"));
appwindow = gnome_app_new("wave","Wave");
drawingarea = gtk_drawing_area_new();
gnome_app_set_contents(GNOME_APP(appwindow),gst_util_get_widget_arg(GTK_OBJECT(wave),"widget"));
gtk_widget_show_all(appwindow);