+2005-09-13 Tim-Philipp Müller <tim at centricular dot net>
+
+ * gst/audioconvert/Makefile.am:
+ Audioconvert derives from GstBaseTransform and should
+ link to the library with our base elements to avoid
+ unresolved symbols. Makes things work with MinGW (#316160)
+
+ * gst/playback/test4.c: (main):
+ Fix MinGW build problem and use g_usleep() instead of
+ sleep() (#316162)
+
2005-09-12 Wim Taymans <wim@fluendo.com>
* gst/audioconvert/audioconvert.c: (float),
bufferframesconvert.c \
plugin.c
-libgstaudioconvert_la_CFLAGS = $(GST_CFLAGS)
+libgstaudioconvert_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS)
libgstaudioconvert_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstaudioconvert_la_LIBADD = \
$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \
- $(GST_LIBS)
+ $(GST_LIBS) $(GST_BASE_LIBS)
noinst_HEADERS = \
gstaudioconvert.h \
}
g_print ("sleep 2...\n");
- sleep (2);
+ g_usleep (2 * G_USEC_PER_SEC);
g_print ("pause...\n");
res = gst_element_set_state (player, GST_STATE_PAUSED);
}
g_print ("sleep 2...\n");
- sleep (2);
+ g_usleep (2 * G_USEC_PER_SEC);
g_print ("play...\n");
res = gst_element_set_state (player, GST_STATE_PLAYING);
}
g_print ("sleep 2...\n");
- sleep (2);
+ g_usleep (2 * G_USEC_PER_SEC);
g_print ("ready...\n");
res = gst_element_set_state (player, GST_STATE_READY);
}
g_print ("sleep 2...\n");
- sleep (2);
+ g_usleep (2 * G_USEC_PER_SEC);
g_print ("play...\n");
res = gst_element_set_state (player, GST_STATE_PLAYING);