From: Justin Kim Date: Tue, 2 Jan 2018 11:51:25 +0000 (+0900) Subject: srt: Remove platform dependent socket headers X-Git-Tag: 1.19.3~507^2~4582 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1da40cdc0f9b053e2dc1ba9594d1f8ba0de312e5;p=platform%2Fupstream%2Fgstreamer.git srt: Remove platform dependent socket headers SRT modules entrust `gnetworking.h` with finding right headers for the platforms. https://bugzilla.gnome.org/show_bug.cgi?id=792123 --- diff --git a/ext/srt/gstsrt.h b/ext/srt/gstsrt.h index 2777cae..6fe5680 100644 --- a/ext/srt/gstsrt.h +++ b/ext/srt/gstsrt.h @@ -23,6 +23,7 @@ #include #include +#include #include diff --git a/ext/srt/gstsrtbasesink.c b/ext/srt/gstsrtbasesink.c index 3f60020..3858f01 100644 --- a/ext/srt/gstsrtbasesink.c +++ b/ext/srt/gstsrtbasesink.c @@ -26,8 +26,6 @@ #include "gstsrt.h" #include -#include - #define SRT_DEFAULT_POLL_TIMEOUT -1 #define GST_CAT_DEFAULT gst_debug_srt_base_sink diff --git a/ext/srt/gstsrtbasesrc.c b/ext/srt/gstsrtbasesrc.c index 5558cd1..29ab55c 100644 --- a/ext/srt/gstsrtbasesrc.c +++ b/ext/srt/gstsrtbasesrc.c @@ -27,8 +27,6 @@ #include #include -#include - #define GST_CAT_DEFAULT gst_debug_srt_base_src GST_DEBUG_CATEGORY (GST_CAT_DEFAULT); diff --git a/ext/srt/gstsrtclientsrc.c b/ext/srt/gstsrtclientsrc.c index a57b4fa..a0d2e7d51 100644 --- a/ext/srt/gstsrtclientsrc.c +++ b/ext/srt/gstsrtclientsrc.c @@ -49,8 +49,6 @@ #include "gstsrt.h" -#include - static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, diff --git a/ext/srt/gstsrtserversink.h b/ext/srt/gstsrtserversink.h index 10eb52b..8a11f88 100644 --- a/ext/srt/gstsrtserversink.h +++ b/ext/srt/gstsrtserversink.h @@ -22,7 +22,6 @@ #define __GST_SRT_SERVER_SINK_H__ #include "gstsrtbasesink.h" -#include G_BEGIN_DECLS diff --git a/ext/srt/gstsrtserversrc.h b/ext/srt/gstsrtserversrc.h index 098b5cd..d7c22c5 100644 --- a/ext/srt/gstsrtserversrc.h +++ b/ext/srt/gstsrtserversrc.h @@ -22,7 +22,6 @@ #define __GST_SRT_SERVER_SRC_H__ #include "gstsrtbasesrc.h" -#include G_BEGIN_DECLS