[Bug 785631] New: building gstptpclock.c without USE_MEASUREMENT_FILTERING

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jul 31 13:40:20 UTC 2017


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

            Bug ID: 785631
           Summary: building gstptpclock.c without
                    USE_MEASUREMENT_FILTERING
    Classification: Platform
           Product: GStreamer
           Version: 1.x
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: michele.dionisio at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

building gstptpclock.c without USE_MEASUREMENT_FILTERING fail because out is
not defined.

I suggest to apply the following patch

diff --git a/libs/gst/net/gstptpclock.c b/libs/gst/net/gstptpclock.c
index 2f669891d..744507688 100644
--- a/libs/gst/net/gstptpclock.c
+++ b/libs/gst/net/gstptpclock.c
@@ -1401,11 +1406,11 @@ update_mean_path_delay (PtpDomainData * domain,
PtpPendingSync * sync)
       GST_TIME_FORMAT ")", domain->domain,
       GST_TIME_ARGS (domain->mean_path_delay), GST_TIME_ARGS
(mean_path_delay));
   GST_DEBUG ("Delay request delay for domain %u: %" GST_TIME_FORMAT,
       domain->domain, GST_TIME_ARGS (delay_req_delay));

-#ifdef USE_MEASUREMENT_FILTERING
+#if defined(USE_MEASUREMENT_FILTERING) || defined(USE_MEDIAN_PRE_FILTERING)
 out:
 #endif

-- 
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