Commit 8d6837ed authored by Sebastian Dröge's avatar Sebastian Dröge 🍵
Browse files

netclientclock. Fix last commit

Apparently I failed at git add -i.
parent 4c62d791
......@@ -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;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment