2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
+ Patch by: Vincent Torri <vtorri at univ-evry dot fr>
+
+ * gst-libs/gst/fft/kiss_fft_s16.h: (KISS_FFT_S16_MALLOC):
+ * gst-libs/gst/fft/kiss_fft_s32.h: (KISS_FFT_S32_MALLOC):
+ Include our own _stdint.h instead of sys/types.h, makes MingW happy
+ (#492306).
+
+ * gst-libs/gst/rtsp/gstrtspconnection.c: (gst_rtsp_connection_create):
+ Use _pipe directly, GLib doesn't have a pipe() macro any longer
+ (it disappeared in GLib 2.14.0) (#492306).
+
+ * gst-libs/gst/sdp/Makefile.am:
+ * gst-libs/gst/sdp/gstsdpmessage.c:
+ Fix includes and LIBS for win32/Mingw (#492306).
+
+ * tests/examples/dynamic/addstream.c (pause_play_stream):
+ Use more portable g_usleep() instead of sleep() (#492306).
+
+2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
+
Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
* gst-libs/gst/audio/gstringbuffer.c: (build_linear_format),
#ifdef G_OS_WIN32
/* This should work on UNIX too. PF_UNIX sockets replaced with pipe */
/* pipe( CONTROL_SOCKETS(newconn) ) */
- if ((ret = pipe (CONTROL_SOCKETS (newconn))) < 0)
+ if ((ret = _pipe (CONTROL_SOCKETS (newconn), 4096, _O_BINARY)) < 0)
goto no_socket_pair;
ioctlsocket (READ_SOCKET (newconn), FIONBIO, &flags);
libgstsdp_@GST_MAJORMINOR@_la_SOURCES = gstsdpmessage.c
libgstsdp_@GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
-libgstsdp_@GST_MAJORMINOR@_la_LIBADD = $(GST_LIBS)
+libgstsdp_@GST_MAJORMINOR@_la_LIBADD = $(GST_LIBS) $(WIN32_LIBS)
libgstsdp_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
* Last reviewed on 2007-07-24 (0.10.14)
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <stdlib.h>
#include <string.h>
+
+#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
+#endif
+
+#include <glib.h> /* for G_OS_WIN32 */
+
+#ifdef G_OS_WIN32
+#include <ws2tcpip.h>
+#else
#include <sys/socket.h>
#include <netdb.h>
+#endif
#include "gstsdpmessage.h"
#include "config.h"
#endif
-#include <unistd.h>
-
#include <gst/gst.h>
static GstElement *pipeline;
}
if (seconds)
- sleep (seconds);
+ g_usleep (seconds * G_USEC_PER_SEC);
if (punch_in) {
/* new bin has to be aligned with previous running_time. We do this by taking