[Bug 791034] New: rtpjitterbuffer fails to create ptp_clock

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Nov 30 17:42:51 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=791034

            Bug ID: 791034
           Summary: rtpjitterbuffer fails to create ptp_clock
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: m.tretter at pengutronix.de
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 364691
  --> https://bugzilla.gnome.org/attachment.cgi?id=364691&action=edit
0001-ptpclock-do-not-require-a-name-to-create-a-clock.patch

The rtpjitterbuffer element tries to allocate a GstPtpClock without providing a
name. However, gst_ptp_clock_new() asserts that name is not NULL and fails.
This results in a fallback to not using the reference clock even though a valid
PTP reference is published in the sdp and detected by the rtpjitterbuffer.

I am not sure, if it is OK to remove the assertion, but looking at other
elements it seems valid to not set the name in g_object_new().

If the assertion is correct, the rtpjitterbuffer must provide a name when
instantiating the GstPtpClock. The patch is simple, but I don't know a proper
name for this clock.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list