gst/gstbin.h: Move priv to the right place.
authorStefan Kost <ensonic@users.sourceforge.net>
Thu, 20 Sep 2007 07:42:35 +0000 (07:42 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Thu, 20 Sep 2007 07:42:35 +0000 (07:42 +0000)
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.

ChangeLog
gst/gstbin.h
gst/gstsystemclock.c
tests/check/Makefile.am
tests/examples/manual/Makefile.am

index e467ae690f477685a66ecb4dfc4e221ff0db6e21..09b3ab0c0737dd0b6f1f9a40b87a8bb6c7ebd936 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
index 1a2714deea6aeaf8289550c339d7618cf9a0eeb7..5f024ad38a93f6f3506c57b209be33fbe562b0a4 100644 (file)
@@ -114,9 +114,9 @@ struct _GstBin {
   GstClock     *provided_clock;
   GstElement    *clock_provider;
 
+  /*< private >*/
   GstBinPrivate *priv;
 
-  /*< private >*/
   gpointer _gst_reserved[GST_PADDING - 1];
 };
 
index aef71b8d02fb90f9de2507cdb125c141909f8909..c20013110e5c43a3d56d6594fb73264ed63ed428 100644 (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);
index 900398ade53abe0334143318daa26b4021dc78fa..6915058301825c597db2c7fcbd5851c3c1ab9d4b 100644 (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
 
index 31963d27d9a33198e6ec5a0c641f8c165ec28e05..80c4848125155b7b728a037d9e2ebf33f97051fb 100644 (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