gst/gstbin.h: Move priv to the right place.

Original commit message from CVS:
* gst/gstbin.h:
Move priv to the right place.
* gst/gstsystemclock.c:
Add FIXME: and improve log.
* tests/check/Makefile.am:
* tests/examples/manual/Makefile.am:
Work with all types of registries.
This commit is contained in:
Stefan Kost 2007-09-20 07:42:35 +00:00
parent 85177c0511
commit 0873492be6
5 changed files with 22 additions and 5 deletions

View file

@ -1,3 +1,15 @@
2007-09-20 Stefan Kost <ensonic@users.sf.net>
* gst/gstbin.h:
Move priv to the right place.
* gst/gstsystemclock.c:
Add FIXME: and improve log.
* tests/check/Makefile.am:
* tests/examples/manual/Makefile.am:
Work with all types of registries.
2007-09-19 Wim Taymans <wim.taymans@gmail.com>
* libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):

View file

@ -114,9 +114,9 @@ struct _GstBin {
GstClock *provided_clock;
GstElement *clock_provider;
/*< private >*/
GstBinPrivate *priv;
/*< private >*/
gpointer _gst_reserved[GST_PADDING - 1];
};

View file

@ -372,6 +372,11 @@ gst_system_clock_id_wait_jitter_unlocked (GstClock * clock,
*jitter = GST_CLOCK_DIFF (entryt, now);
}
diff = entryt - now;
/* FIXME: should that be not just:
* target = GST_CLOCK_GET_CLASS (clock)->get_internal_time (clock) + diff;
* or even
* target = real + diff;
*/
target = gst_system_clock_get_internal_time (clock) + diff;
GST_CAT_DEBUG (GST_CAT_CLOCK, "entry %p"
@ -379,7 +384,7 @@ gst_system_clock_id_wait_jitter_unlocked (GstClock * clock,
" entry %" GST_TIME_FORMAT
" now %" GST_TIME_FORMAT
" real %" GST_TIME_FORMAT
" diff %" G_GINT64_FORMAT,
" diff (entry-now) %" G_GINT64_FORMAT,
entry,
GST_TIME_ARGS (target),
GST_TIME_ARGS (entryt), GST_TIME_ARGS (now), GST_TIME_ARGS (real), diff);

View file

@ -20,7 +20,7 @@ install-pluginLTLIBRARIES:
# the core dumps of some machines have PIDs appended, test registry and
# profiling data
CLEANFILES = core core.* test-registry.reg *.gcno *.gcda
CLEANFILES = core core.* test-registry.* *.gcno *.gcda
SUPPRESSIONS = $(top_srcdir)/common/gst.supp

View file

@ -15,7 +15,7 @@ INCLUDES = $(GST_OBJ_CFLAGS)
# gnome_LDADD = $(GST_OBJ_LIBS) $(LIBGNOMEUI_LIBS)
# gnome_CFLAGS = $(GST_OBJ_CFLAGS) $(LIBGNOMEUI_CFLAGS)
CHECK_REGISTRY = $(top_builddir)/tests/examples/manual/test-registry.xml
CHECK_REGISTRY = $(top_builddir)/tests/examples/manual/test-registry.reg
REGISTRY_ENVIRONMENT = \
GST_REGISTRY=$(CHECK_REGISTRY)
@ -25,7 +25,7 @@ TESTS_ENVIRONMENT = \
GST_PLUGIN_SYSTEM_PATH= \
GST_PLUGIN_PATH=$(top_builddir)/plugins
CLEANFILES = core core.* test-registry.xml *.gcno *.gcda
CLEANFILES = core core.* test-registry.* *.gcno *.gcda
EXTRA_DIST = extract.pl