diff options
Diffstat (limited to 'gst/udp')
-rw-r--r-- | gst/udp/gstudpsink.c | 5 | ||||
-rw-r--r-- | gst/udp/gstudpsrc.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gst/udp/gstudpsink.c b/gst/udp/gstudpsink.c index 3d2580c3..a251eede 100644 --- a/gst/udp/gstudpsink.c +++ b/gst/udp/gstudpsink.c @@ -18,6 +18,9 @@ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "gstudpsink.h" #define UDP_DEFAULT_HOST "localhost" @@ -271,7 +274,7 @@ gst_udpsink_chain (GstPad *pad, GstBuffer *buf) if (udpsink->clock) { GstClockID id = gst_clock_new_single_shot_id (udpsink->clock, GST_BUFFER_TIMESTAMP (buf)); - GST_DEBUG (0, "udpsink: clock wait: %" G_GUINT64_FORMAT "\n", GST_BUFFER_TIMESTAMP (buf)); + GST_DEBUG ("udpsink: clock wait: %" G_GUINT64_FORMAT "\n", GST_BUFFER_TIMESTAMP (buf)); gst_element_clock_wait (GST_ELEMENT (udpsink), id, NULL); gst_clock_id_free (id); } diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c index f400b0fb..b3101e00 100644 --- a/gst/udp/gstudpsrc.c +++ b/gst/udp/gstudpsrc.c @@ -18,7 +18,12 @@ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "gstudpsrc.h" +#include <unistd.h> #define UDP_DEFAULT_PORT 4951 #define UDP_DEFAULT_MULTICAST_GROUP "0.0.0.0" |