gst/elements/gstfakesrc.c: fix debug output

Original commit message from CVS:

* gst/elements/gstfakesrc.c: (gst_fakesrc_create):
fix debug output
* gst/schedulers/Makefile.am:
use libgst prefix
* gstreamer.spec.in:
fix spec for it
This commit is contained in:
Thomas Vander Stichele 2005-06-09 13:33:00 +00:00
parent 82eeb06d90
commit 013b77e072
4 changed files with 20 additions and 12 deletions

View file

@ -691,9 +691,13 @@ gst_fakesrc_create (GstBaseSrc * basesrc, guint64 offset, guint length,
g_free (src->last_message); g_free (src->last_message);
src->last_message = src->last_message =
g_strdup_printf ("get ******* > (%d bytes, %" g_strdup_printf ("get ******* > (%d bytes, timestamp: %"
G_GUINT64_FORMAT " ) %p", GST_TIME_FORMAT ", duration: %" GST_TIME_FORMAT ", offset: %"
GST_BUFFER_SIZE (buf), GST_BUFFER_TIMESTAMP (buf), buf); G_GINT64_FORMAT ", offset_end: %" G_GINT64_FORMAT ", flags: %d) %p",
GST_BUFFER_SIZE (buf),
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf)),
GST_TIME_ARGS (GST_BUFFER_DURATION (buf)), GST_BUFFER_OFFSET (buf),
GST_BUFFER_OFFSET_END (buf), GST_MINI_OBJECT (buf)->flags, buf);
g_object_notify (G_OBJECT (src), "last_message"); g_object_notify (G_OBJECT (src), "last_message");
} }

View file

@ -1,11 +1,11 @@
plugin_LTLIBRARIES = \ plugin_LTLIBRARIES = \
libthreadscheduler.la libgstthreadscheduler.la
libthreadscheduler_la_SOURCES = threadscheduler.c libgstthreadscheduler_la_SOURCES = threadscheduler.c
libthreadscheduler_la_CFLAGS = $(GST_OBJ_CFLAGS) libgstthreadscheduler_la_CFLAGS = $(GST_OBJ_CFLAGS)
libthreadscheduler_la_LIBADD = $(GST_OBJ_LIBS) libgstthreadscheduler_la_LIBADD = $(GST_OBJ_LIBS)
libthreadscheduler_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) libgstthreadscheduler_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_HEADERS = noinst_HEADERS =

View file

@ -140,7 +140,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/gstreamer-%{majorminor}/libgstgetbits.so %{_libdir}/gstreamer-%{majorminor}/libgstgetbits.so
%{_libdir}/gstreamer-%{majorminor}/libgstindexers.so %{_libdir}/gstreamer-%{majorminor}/libgstindexers.so
%{_libdir}/gstreamer-%{majorminor}/libgstdataprotocol.so %{_libdir}/gstreamer-%{majorminor}/libgstdataprotocol.so
%{_libdir}/gstreamer-%{majorminor}/libthreadscheduler.so %{_libdir}/gstreamer-%{majorminor}/libgstthreadscheduler.so
%{_bindir}/gst-complete-%{majorminor} %{_bindir}/gst-complete-%{majorminor}
%{_bindir}/gst-compprep-%{majorminor} %{_bindir}/gst-compprep-%{majorminor}

View file

@ -691,9 +691,13 @@ gst_fakesrc_create (GstBaseSrc * basesrc, guint64 offset, guint length,
g_free (src->last_message); g_free (src->last_message);
src->last_message = src->last_message =
g_strdup_printf ("get ******* > (%d bytes, %" g_strdup_printf ("get ******* > (%d bytes, timestamp: %"
G_GUINT64_FORMAT " ) %p", GST_TIME_FORMAT ", duration: %" GST_TIME_FORMAT ", offset: %"
GST_BUFFER_SIZE (buf), GST_BUFFER_TIMESTAMP (buf), buf); G_GINT64_FORMAT ", offset_end: %" G_GINT64_FORMAT ", flags: %d) %p",
GST_BUFFER_SIZE (buf),
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf)),
GST_TIME_ARGS (GST_BUFFER_DURATION (buf)), GST_BUFFER_OFFSET (buf),
GST_BUFFER_OFFSET_END (buf), GST_MINI_OBJECT (buf)->flags, buf);
g_object_notify (G_OBJECT (src), "last_message"); g_object_notify (G_OBJECT (src), "last_message");
} }