Merge branch 'master' into 0.11

This commit is contained in:
Sebastian Dröge 2012-01-10 13:00:07 +01:00
commit 148bf27ce3
10 changed files with 18 additions and 14 deletions

View file

@ -56,7 +56,7 @@ autoheader_check || DIE=1
die_check $DIE
# if no arguments specified then this will be printed
if test -z "$*"; then
if test -z "$*" && test -z "$NOCONFIGURE"; then
echo "+ checking for autogen.sh options"
echo " This autogen script will automatically run ./configure as:"
echo " ./configure $CONFIGURE_DEF_OPT"

View file

@ -380,6 +380,8 @@ AC_CHECK_FUNCS([poll])
AC_CHECK_FUNCS([ppoll])
AC_CHECK_FUNCS([pselect])
AC_CHECK_HEADERS([sys/poll.h])
dnl ****************************************
dnl *** GLib POLL* compatibility defines ***
dnl ****************************************

View file

@ -25,6 +25,7 @@
#ifdef ENABLE_NLS
#include <locale.h> /* some people need it and some people don't */
#include "gettext.h" /* included with gettext distribution and copied */
/* we want to use shorthand _() for translating and N_() for marking */

View file

@ -29,6 +29,7 @@
#ifdef ENABLE_NLS
#include <locale.h> /* some people need it and some people don't */
#include "gettext.h" /* included with gettext distribution and copied */
/* we want to use shorthand _() for translating and N_() for marking */

View file

@ -144,7 +144,7 @@ gint priv_gst_date_time_compare (gconstpointer dt1, gconstpointer dt2);
#ifndef GST_DISABLE_REGISTRY
/* Secret variable to initialise gst without registry cache */
extern gboolean _gst_disable_registry_cache;
GST_EXPORT gboolean _gst_disable_registry_cache;
#endif
/* provide inline gst_g_value_get_foo_unchecked(), used in gststructure.c */

View file

@ -193,7 +193,11 @@
#endif
#else /* not _MSC_VER */
#define GST_PLUGIN_EXPORT
#if (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
#define GST_EXPORT extern __attribute__ ((visibility ("default")))
#else
#define GST_EXPORT extern
#endif
#endif
#endif /* __GST_CONFIG_H__ */

View file

@ -75,7 +75,12 @@
#define EINPROGRESS WSAEINPROGRESS
#else
#define _GNU_SOURCE 1
#ifdef HAVE_SYS_POLL_H
#include <sys/poll.h>
#endif
#ifdef HAVE_POLL_H
#include <poll.h>
#endif
#include <sys/time.h>
#include <sys/socket.h>
#endif

View file

@ -2236,8 +2236,7 @@ gst_base_sink_wait_eos (GstBaseSink * sink, GstClockTime time,
GST_DEBUG_OBJECT (sink, "possibly waiting for clock to reach %"
GST_TIME_FORMAT, GST_TIME_ARGS (time));
/* compensate for latency and ts_offset. We don't adjust for render delay
* because we don't interact with the device on EOS normally. */
/* compensate for latency, ts_offset and render delay */
stime = gst_base_sink_adjust_time (sink, time);
/* wait for the clock, this can be interrupted because we got shut down or
@ -2387,14 +2386,6 @@ again:
/* adjust for latency */
stime = gst_base_sink_adjust_time (basesink, rstart);
/* adjust for render-delay, avoid underflows */
if (GST_CLOCK_TIME_IS_VALID (stime)) {
if (stime > priv->render_delay)
stime -= priv->render_delay;
else
stime = 0;
}
/* preroll done, we can sync since we are in PLAYING now. */
GST_DEBUG_OBJECT (basesink, "possibly waiting for clock to reach %"
GST_TIME_FORMAT ", adjusted %" GST_TIME_FORMAT,

View file

@ -629,7 +629,7 @@ gst_fd_src_uri_set_uri (GstURIHandler * handler, const gchar * uri,
gchar *protocol, *q;
GstFdSrc *src = GST_FD_SRC (handler);
gint fd;
guint64 size = -1;
guint64 size = (guint64) - 1;
GST_INFO_OBJECT (src, "checking uri %s", uri);

View file

@ -523,7 +523,7 @@ gst_input_selector_wait_running_time (GstInputSelector * sel,
GstPad *active_sinkpad;
GstSelectorPad *active_selpad;
GstSegment *seg, *active_seg;
GstClockTime running_time, active_running_time = -1;
GstClockTime running_time, active_running_time = GST_CLOCK_TIME_NONE;
seg = &pad->segment;