Index: gst/videotestsrc/gstvideotestsrc.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/gst/videotestsrc/gstvideotestsrc.c,v
retrieving revision 1.95
diff -a -u -r1.95 gstvideotestsrc.c
--- gst/videotestsrc/gstvideotestsrc.c	12 Dec 2005 15:09:55 -0000	1.95
+++ gst/videotestsrc/gstvideotestsrc.c	21 Dec 2005 12:35:58 -0000
@@ -75,6 +75,8 @@
 static void gst_video_test_src_get_property (GObject * object, guint prop_id,
     GValue * value, GParamSpec * pspec);
 
+static gboolean gst_video_test_src_start (GstBaseSrc * basesrc);
+
 static GstCaps *gst_video_test_src_getcaps (GstBaseSrc * bsrc);
 static gboolean gst_video_test_src_setcaps (GstBaseSrc * bsrc, GstCaps * caps);
 static void gst_video_test_src_src_fixate (GstPad * pad, GstCaps * caps);
@@ -96,9 +98,9 @@
 {
   static GType video_test_src_pattern_type = 0;
   static GEnumValue pattern_types[] = {
-    {GST_VIDEO_TEST_SRC_SMPTE, "SMPTE 100% color bars", "smpte"},
+    {GST_VIDEO_TEST_SRC_SMPTE, "SMPTE 100%% color bars", "smpte"},
     {GST_VIDEO_TEST_SRC_SNOW, "Random (television snow)", "snow"},
-    {GST_VIDEO_TEST_SRC_BLACK, "100% Black", "black"},
+    {GST_VIDEO_TEST_SRC_BLACK, "100%% Black", "black"},
     {0, NULL, NULL},
   };
 
@@ -154,6 +156,7 @@
   gstbasesrc_class->do_seek = gst_video_test_src_do_seek;
   gstbasesrc_class->query = gst_video_test_src_query;
   gstbasesrc_class->get_times = gst_video_test_src_get_times;
+  gstbasesrc_class->start = GST_DEBUG_FUNCPTR (gst_video_test_src_start);
 
   gstpushsrc_class->create = gst_video_test_src_create;
 }
@@ -174,6 +177,17 @@
   gst_base_src_set_live (GST_BASE_SRC (src), FALSE);
 }
 
+static gboolean
+gst_video_test_src_start (GstBaseSrc * basesrc)
+{
+    GstVideoTestSrc *src = GST_VIDEO_TEST_SRC (basesrc);
+
+    src->running_time = 0;
+    src->n_frames = 0;
+
+    return TRUE;
+}
+
 static void
 gst_video_test_src_src_fixate (GstPad * pad, GstCaps * caps)
 {
