netclientclock. Fix last commit

Apparently I failed at git add -i.
This commit is contained in:
Sebastian Dröge 2015-06-06 19:01:06 +02:00
parent 4c62d791aa
commit 8d6837edf5

View file

@ -876,26 +876,3 @@ gst_net_client_clock_new (const gchar * name, const gchar * remote_address,
return (GstClock *) ret; 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;
}
}