mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
ptpclock: do not require a name to create a clock
The gst_ptp_clock_new() does not actually require a name. However, for example the rtpjitterbuffer may create a clock without a name, fail, and fall back to not using the PTP clock. https://bugzilla.gnome.org/show_bug.cgi?id=791034
This commit is contained in:
parent
906bbd3817
commit
bbafb78b1e
1 changed files with 0 additions and 1 deletions
|
@ -2524,7 +2524,6 @@ gst_ptp_clock_new (const gchar * name, guint domain)
|
|||
{
|
||||
GstClock *clock;
|
||||
|
||||
g_return_val_if_fail (name != NULL, NULL);
|
||||
g_return_val_if_fail (domain <= G_MAXUINT8, NULL);
|
||||
|
||||
if (!initted && !gst_ptp_init (GST_PTP_CLOCK_ID_NONE, NULL)) {
|
||||
|
|
Loading…
Reference in a new issue