diff --git a/examples/test-netclock-client.c b/examples/test-netclock-client.c
index e862ca9..3a70264 100644
--- a/examples/test-netclock-client.c
+++ b/examples/test-netclock-client.c
@@ -25,6 +25,10 @@
 
 #define PLAYBACK_DELAY_MS 40
 
+/* Set this high enough so that it's higher than the minimum latency
+ * on all receivers */
+#define PIPELINE_LATENCY 1500 * GST_MSECOND
+
 static void
 source_created (GstElement * pipe, GstElement * source)
 {
@@ -32,6 +36,53 @@ source_created (GstElement * pipe, GstElement * source)
       "ntp-time-source", 3, "buffer-mode", 4, "ntp-sync", TRUE, NULL);
 }
 
+static void
+setup_video_sink (GstElement * playbin)
+{
+  GstElement *video_sink_bin, *queue, *video_sink, *timeoverlay;
+
+  video_sink_bin = gst_bin_new ("video_sink_bin");
+  g_assert_nonnull (video_sink_bin);
+  gst_object_ref (video_sink_bin);
+
+  queue = gst_element_factory_make ("queue", NULL);
+  g_assert_nonnull (queue);
+
+  timeoverlay = gst_element_factory_make ("timeoverlay", NULL);
+  g_assert_nonnull (timeoverlay);
+
+  g_object_set (timeoverlay, "time-mode", 2, "font-desc",
+      "helvetica,verdana,sans 30", "auto-resize", FALSE, "color", 88398712398,
+      "halignment", 1, "valignment", 2, NULL);
+
+  g_object_set (queue, "max-size-bytes", 0, "max-size-buffers", 0,
+      "max-size-time", PIPELINE_LATENCY, NULL);
+
+  video_sink = gst_element_factory_make ("autovideosink", "sink");
+  g_assert_nonnull (video_sink);
+
+  gst_bin_add_many (GST_BIN (video_sink_bin), gst_object_ref (queue),
+      gst_object_ref (timeoverlay), gst_object_ref (video_sink), NULL);
+  if (!gst_element_link_many (queue, timeoverlay, video_sink, NULL))
+    g_error ("Could not link elements");
+
+  GstPad *target_sink = gst_element_get_static_pad (queue, "sink");
+  GstPad *ghost_pad = gst_ghost_pad_new ("sink", target_sink);
+  gst_object_unref (target_sink);
+  gst_pad_set_active (ghost_pad, TRUE);
+  gst_element_add_pad (video_sink_bin, ghost_pad);
+  ghost_pad = NULL;
+
+  g_object_set (playbin, "video-sink", video_sink_bin, NULL);
+
+  gst_element_set_state (video_sink_bin, GST_STATE_READY);
+
+  gst_object_unref (queue);
+  gst_object_unref (timeoverlay);
+  gst_object_unref (video_sink);
+  gst_object_unref (video_sink_bin);
+}
+
 static gboolean
 message (GstBus * bus, GstMessage * message, gpointer user_data)
 {
@@ -119,12 +170,14 @@ main (int argc, char *argv[])
   pipe = gst_element_factory_make ("playbin", NULL);
   g_object_set (pipe, "uri", argv[1], NULL);
   g_signal_connect (pipe, "source-setup", G_CALLBACK (source_created), NULL);
+  setup_video_sink (pipe);
+
+  gst_element_set_base_time (GST_ELEMENT (pipe), 0);
+  gst_element_set_start_time (GST_ELEMENT (pipe), GST_CLOCK_TIME_NONE);
 
   gst_pipeline_use_clock (GST_PIPELINE (pipe), net_clock);
 
-  /* Set this high enough so that it's higher than the minimum latency
-   * on all receivers */
-  gst_pipeline_set_latency (GST_PIPELINE (pipe), 500 * GST_MSECOND);
+  gst_pipeline_set_latency (GST_PIPELINE (pipe), PIPELINE_LATENCY);
 
   if (gst_element_set_state (pipe,
           GST_STATE_PLAYING) == GST_STATE_CHANGE_FAILURE) {
diff --git a/examples/test-netclock.c b/examples/test-netclock.c
index 6fa728a..4e8d4f9 100644
--- a/examples/test-netclock.c
+++ b/examples/test-netclock.c
@@ -28,6 +28,8 @@ GstClock *global_clock;
 #define TEST_TYPE_RTSP_MEDIA_FACTORY      (test_rtsp_media_factory_get_type ())
 #define TEST_TYPE_RTSP_MEDIA              (test_rtsp_media_get_type ())
 
+#define PIPELINE_LATENCY 1000 * GST_MSECOND
+
 GType test_rtsp_media_factory_get_type (void);
 GType test_rtsp_media_get_type (void);
 
@@ -95,7 +97,10 @@ create_pipeline (GstRTSPMediaFactory * factory, GstRTSPMedia * media)
   GstElement *pipeline;
 
   pipeline = gst_pipeline_new ("media-pipeline");
+  gst_element_set_base_time (GST_ELEMENT (pipeline), 0);
+  gst_element_set_start_time (GST_ELEMENT (pipeline), GST_CLOCK_TIME_NONE);
   gst_pipeline_use_clock (GST_PIPELINE (pipeline), global_clock);
+  gst_pipeline_set_latency (GST_PIPELINE (pipeline), PIPELINE_LATENCY);
   gst_rtsp_media_take_pipeline (media, GST_PIPELINE_CAST (pipeline));
 
   return pipeline;
