mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 04:05:34 +00:00
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:
parent
cab1728fa5
commit
f8666a569f
6 changed files with 10 additions and 9 deletions
|
@ -45,9 +45,9 @@ fi
|
||||||
|
|
||||||
libtoolize --copy --force
|
libtoolize --copy --force
|
||||||
aclocal $ACLOCAL_FLAGS
|
aclocal $ACLOCAL_FLAGS
|
||||||
automake --add-missing
|
|
||||||
autoheader
|
autoheader
|
||||||
autoconf
|
autoconf
|
||||||
|
automake --add-missing
|
||||||
|
|
||||||
if [ "x$1" = "x--autogen-recurse" ];then
|
if [ "x$1" = "x--autogen-recurse" ];then
|
||||||
exit # the rest will happen later
|
exit # the rest will happen later
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
<title>Autoplugging helloworld</title>
|
<title>Autoplugging helloworld</title>
|
||||||
<para>
|
<para>
|
||||||
We will create a second version of the helloworld application using
|
We will create a second version of the helloworld application using
|
||||||
autoplugging. Its source code is considerably more easy to write and
|
autoplugging. Its source code is considerably easier to write and
|
||||||
can also handle much more data types.
|
it can also handle many more data types.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
|
@ -91,7 +91,7 @@ int main(int argc,char *argv[])
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
|
||||||
<para>
|
<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
|
In fact, we only specify a source element and a sink element and add them
|
||||||
to a pipeline.
|
to a pipeline.
|
||||||
</para>
|
</para>
|
||||||
|
@ -149,7 +149,7 @@ int main(int argc,char *argv[])
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<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.
|
autoplugging yourself.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
|
@ -396,7 +396,7 @@
|
||||||
Wim Taymans, plugin hacker
|
Wim Taymans, plugin hacker
|
||||||
Richard Boulton, makefile hacker
|
Richard Boulton, makefile hacker
|
||||||
</authors>
|
</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>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
|
|
|
@ -9,7 +9,7 @@ GSTARCH_SRCS =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
libgstgetbits_la_SOURCES = gstgetbits.c gstgetbits_inl.h gstgetbits_generic.c $(GSTARCH_SRCS)
|
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
|
libgstgetbitsincludedir = $(includedir)/gst/libs/gstgetbits
|
||||||
libgstgetbitsinclude_HEADERS = gstgetbits.h
|
libgstgetbitsinclude_HEADERS = gstgetbits.h
|
||||||
|
|
|
@ -17,12 +17,14 @@
|
||||||
#endif /* HAVE_LIBSSE */
|
#endif /* HAVE_LIBSSE */
|
||||||
|
|
||||||
// FIXME - let configure set DEBUG_ENABLED.
|
// FIXME - let configure set DEBUG_ENABLED.
|
||||||
//#define DEBUG_ENABLED
|
/* debugging */
|
||||||
|
#ifndef DEBUG
|
||||||
#ifdef DEBUG_ENABLED
|
#ifdef DEBUG_ENABLED
|
||||||
#define DEBUG(format, args...) g_print("DEBUG:(%d) " format, getpid() , ##args)
|
#define DEBUG(format, args...) g_print("DEBUG:(%d) " format, getpid() , ##args)
|
||||||
#else
|
#else
|
||||||
#define DEBUG(format, args...)
|
#define DEBUG(format, args...)
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef WORDS_BIGENDIAN
|
#ifdef WORDS_BIGENDIAN
|
||||||
|
|
|
@ -42,7 +42,6 @@ int main(int argc,char *argv[]) {
|
||||||
gst_element_get_pad(wave,"sink"));
|
gst_element_get_pad(wave,"sink"));
|
||||||
|
|
||||||
appwindow = gnome_app_new("wave","Wave");
|
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"));
|
gnome_app_set_contents(GNOME_APP(appwindow),gst_util_get_widget_arg(GTK_OBJECT(wave),"widget"));
|
||||||
gtk_widget_show_all(appwindow);
|
gtk_widget_show_all(appwindow);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue