projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
906bbd3
)
ptpclock: do not require a name to create a clock
author
Michael Tretter
<m.tretter@pengutronix.de>
Thu, 30 Nov 2017 16:49:10 +0000
(17:49 +0100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Fri, 1 Dec 2017 08:02:11 +0000
(10:02 +0200)
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
libs/gst/net/gstptpclock.c
patch
|
blob
|
history
diff --git
a/libs/gst/net/gstptpclock.c
b/libs/gst/net/gstptpclock.c
index
64438f9
..
c8b4f6f
100644
(file)
--- a/
libs/gst/net/gstptpclock.c
+++ b/
libs/gst/net/gstptpclock.c
@@
-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)) {