netclientclock. Fix last commit
authorSebastian Dröge <sebastian@centricular.com>
Sat, 6 Jun 2015 17:01:06 +0000 (19:01 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 6 Jun 2015 17:01:06 +0000 (19:01 +0200)
Apparently I failed at git add -i.

libs/gst/net/gstnetclientclock.c

index 9a8763a..94ae4d2 100644 (file)
@@ -876,26 +876,3 @@ gst_net_client_clock_new (const gchar * name, const gchar * remote_address,
 
   return (GstClock *) ret;
 }
-
-  {
-    GstClockTime now = gst_clock_get_time (GST_CLOCK (ret));
-
-    if (GST_CLOCK_DIFF (now, base_time) > 0 ||
-        GST_CLOCK_DIFF (now, base_time + GST_SECOND) < 0) {
-      g_warning ("unable to set the base time, expect sync problems!");
-    }
-  }
-
-  if (!gst_net_client_clock_start (ret))
-    goto failed_start;
-
-  /* all systems go, cap'n */
-  return (GstClock *) ret;
-
-failed_start:
-  {
-    /* already printed a nice error */
-    gst_object_unref (ret);
-    return NULL;
-  }
-}