+2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * configure.ac:
+ * win32/common/config.h:
+ * win32/common/config.h.in:
+ check for process.h, declares getpid() on Windows
+ * gst/gstinfo.c:
+ include process.h if we have it
+ * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
+ * gst/gstmemchunk.h:
+ fix signedness issues
+ * win32/common/libgstreamer.def:
+ fix get_type's
+
2005-10-16 Julien MOUTTE <julien@moutte.net>
* gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
AC_CHECK_HEADERS([ucontext.h])
AC_CHECK_HEADERS([sys/socket.h], HAVE_SYS_SOCKET_H=yes)
AM_CONDITIONAL(HAVE_SYS_SOCKET_H, test "x$HAVE_SYS_SOCKET_H" = "xyes")
+AC_CHECK_HEADERS([process.h])
dnl *** checks for library functions ***
#ifndef GST_DISABLE_GST_DEBUG
#ifdef HAVE_DLFCN_H
-#include <dlfcn.h>
+# include <dlfcn.h>
#endif
#ifdef HAVE_PRINTF_EXTENSION
-#include <printf.h>
+# include <printf.h>
#endif
#include <stdio.h> /* fprintf */
#ifdef HAVE_UNISTD_H
-#include <unistd.h>
+# include <unistd.h> /* getpid on UNIX */
+#endif
+#ifdef HAVE_PROCESS_H
+# include <process.h> /* getpid on win32 */
#endif
#include <string.h> /* G_VA_COPY */
#include "gst_private.h"
#include "gstutils.h"
#ifdef HAVE_VALGRIND
-#include <valgrind/valgrind.h>
+# include <valgrind/valgrind.h>
#endif
#include <glib/gprintf.h> /* g_sprintf */
populate (GstMemChunk * mem_chunk)
{
guint8 *area;
- gint i;
+ guint i;
if (mem_chunk->cleanup)
return FALSE;
* MT safe.
*/
GstMemChunk *
-gst_mem_chunk_new (gchar * name, gint atom_size, gulong area_size, gint type)
+gst_mem_chunk_new (gchar * name, guint atom_size, gulong area_size, gint type)
{
GstMemChunk *mem_chunk;
typedef struct _GstMemChunk GstMemChunk;
GstMemChunk* gst_mem_chunk_new (gchar *name,
- gint atom_size,
+ guint atom_size,
gulong area_size,
gint type);
/* Defined if we have register_printf_function () */
#undef HAVE_PRINTF_EXTENSION
+/* Define to 1 if you have the <process.h> header file. */
+#define HAVE_PROCESS_H 1
+
/* Define if RDTSC is available */
#undef HAVE_RDTSC
/* Defined if we have register_printf_function () */
#undef HAVE_PRINTF_EXTENSION
+/* Define to 1 if you have the <process.h> header file. */
+#define HAVE_PROCESS_H 1
+
/* Define if RDTSC is available */
#undef HAVE_RDTSC
gst_caps_is_fixed\r
gst_caps_to_string\r
gst_caps_from_string\r
- gst_list_get_type\r
- gst_fourcc_get_type\r
gst_double_range_get_type\r
+ gst_fourcc_get_type\r
gst_int_range_get_type\r
gst_fraction_get_type\r
+ gst_value_list_get_type\r
+ gst_value_array_get_type\r
gst_structure_new\r
gst_caps_new_full\r
gst_caps_append\r