diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | gst/dccp/gstdccpserversink.c | 4 | ||||
-rw-r--r-- | gst/dccp/gstdccpserversink.h | 2 |
3 files changed, 10 insertions, 3 deletions
@@ -1,5 +1,12 @@ 2008-08-26 Edward Hervey <edward.hervey@collabora.co.uk> + * gst/dccp/gstdccpserversink.c: + * gst/dccp/gstdccpserversink.h: + Don't put globals only used by one '.c' file in a header ! + Declare it as static, fixes build on macosx. + +2008-08-26 Edward Hervey <edward.hervey@collabora.co.uk> + * gst/dccp/gstdccp.c: (gst_dccp_send_buffer): Whoops, that was one fix too much :) diff --git a/gst/dccp/gstdccpserversink.c b/gst/dccp/gstdccpserversink.c index 72ffa16c..3121acdf 100644 --- a/gst/dccp/gstdccpserversink.c +++ b/gst/dccp/gstdccpserversink.c @@ -74,7 +74,9 @@ enum PROP_WAIT_CONNECTIONS }; -pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER; +static pthread_t accept_thread_id; + +static pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER; static gboolean gst_dccp_server_sink_stop (GstBaseSink * bsink); GST_DEBUG_CATEGORY_STATIC (dccpserversink_debug); diff --git a/gst/dccp/gstdccpserversink.h b/gst/dccp/gstdccpserversink.h index 5fead474..0b2623ad 100644 --- a/gst/dccp/gstdccpserversink.h +++ b/gst/dccp/gstdccpserversink.h @@ -58,8 +58,6 @@ struct _Client GstFlowReturn flow_status; }; -pthread_t accept_thread_id; - struct _GstDCCPServerSink { GstBaseSink element; |