mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
Merge branch 'master' into 0.11
This commit is contained in:
commit
148bf27ce3
10 changed files with 18 additions and 14 deletions
|
@ -56,7 +56,7 @@ autoheader_check || DIE=1
|
||||||
die_check $DIE
|
die_check $DIE
|
||||||
|
|
||||||
# if no arguments specified then this will be printed
|
# 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 "+ checking for autogen.sh options"
|
||||||
echo " This autogen script will automatically run ./configure as:"
|
echo " This autogen script will automatically run ./configure as:"
|
||||||
echo " ./configure $CONFIGURE_DEF_OPT"
|
echo " ./configure $CONFIGURE_DEF_OPT"
|
||||||
|
|
|
@ -380,6 +380,8 @@ AC_CHECK_FUNCS([poll])
|
||||||
AC_CHECK_FUNCS([ppoll])
|
AC_CHECK_FUNCS([ppoll])
|
||||||
AC_CHECK_FUNCS([pselect])
|
AC_CHECK_FUNCS([pselect])
|
||||||
|
|
||||||
|
AC_CHECK_HEADERS([sys/poll.h])
|
||||||
|
|
||||||
dnl ****************************************
|
dnl ****************************************
|
||||||
dnl *** GLib POLL* compatibility defines ***
|
dnl *** GLib POLL* compatibility defines ***
|
||||||
dnl ****************************************
|
dnl ****************************************
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
|
|
||||||
#ifdef ENABLE_NLS
|
#ifdef ENABLE_NLS
|
||||||
|
|
||||||
|
#include <locale.h> /* some people need it and some people don't */
|
||||||
#include "gettext.h" /* included with gettext distribution and copied */
|
#include "gettext.h" /* included with gettext distribution and copied */
|
||||||
|
|
||||||
/* we want to use shorthand _() for translating and N_() for marking */
|
/* we want to use shorthand _() for translating and N_() for marking */
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
|
|
||||||
#ifdef ENABLE_NLS
|
#ifdef ENABLE_NLS
|
||||||
|
|
||||||
|
#include <locale.h> /* some people need it and some people don't */
|
||||||
#include "gettext.h" /* included with gettext distribution and copied */
|
#include "gettext.h" /* included with gettext distribution and copied */
|
||||||
|
|
||||||
/* we want to use shorthand _() for translating and N_() for marking */
|
/* we want to use shorthand _() for translating and N_() for marking */
|
||||||
|
|
|
@ -144,7 +144,7 @@ gint priv_gst_date_time_compare (gconstpointer dt1, gconstpointer dt2);
|
||||||
|
|
||||||
#ifndef GST_DISABLE_REGISTRY
|
#ifndef GST_DISABLE_REGISTRY
|
||||||
/* Secret variable to initialise gst without registry cache */
|
/* Secret variable to initialise gst without registry cache */
|
||||||
extern gboolean _gst_disable_registry_cache;
|
GST_EXPORT gboolean _gst_disable_registry_cache;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* provide inline gst_g_value_get_foo_unchecked(), used in gststructure.c */
|
/* provide inline gst_g_value_get_foo_unchecked(), used in gststructure.c */
|
||||||
|
|
|
@ -193,7 +193,11 @@
|
||||||
#endif
|
#endif
|
||||||
#else /* not _MSC_VER */
|
#else /* not _MSC_VER */
|
||||||
#define GST_PLUGIN_EXPORT
|
#define GST_PLUGIN_EXPORT
|
||||||
|
#if (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
|
||||||
|
#define GST_EXPORT extern __attribute__ ((visibility ("default")))
|
||||||
|
#else
|
||||||
#define GST_EXPORT extern
|
#define GST_EXPORT extern
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __GST_CONFIG_H__ */
|
#endif /* __GST_CONFIG_H__ */
|
||||||
|
|
|
@ -75,7 +75,12 @@
|
||||||
#define EINPROGRESS WSAEINPROGRESS
|
#define EINPROGRESS WSAEINPROGRESS
|
||||||
#else
|
#else
|
||||||
#define _GNU_SOURCE 1
|
#define _GNU_SOURCE 1
|
||||||
|
#ifdef HAVE_SYS_POLL_H
|
||||||
#include <sys/poll.h>
|
#include <sys/poll.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_POLL_H
|
||||||
|
#include <poll.h>
|
||||||
|
#endif
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -2236,8 +2236,7 @@ gst_base_sink_wait_eos (GstBaseSink * sink, GstClockTime time,
|
||||||
GST_DEBUG_OBJECT (sink, "possibly waiting for clock to reach %"
|
GST_DEBUG_OBJECT (sink, "possibly waiting for clock to reach %"
|
||||||
GST_TIME_FORMAT, GST_TIME_ARGS (time));
|
GST_TIME_FORMAT, GST_TIME_ARGS (time));
|
||||||
|
|
||||||
/* compensate for latency and ts_offset. We don't adjust for render delay
|
/* compensate for latency, ts_offset and render delay */
|
||||||
* because we don't interact with the device on EOS normally. */
|
|
||||||
stime = gst_base_sink_adjust_time (sink, time);
|
stime = gst_base_sink_adjust_time (sink, time);
|
||||||
|
|
||||||
/* wait for the clock, this can be interrupted because we got shut down or
|
/* wait for the clock, this can be interrupted because we got shut down or
|
||||||
|
@ -2387,14 +2386,6 @@ again:
|
||||||
/* adjust for latency */
|
/* adjust for latency */
|
||||||
stime = gst_base_sink_adjust_time (basesink, rstart);
|
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. */
|
/* preroll done, we can sync since we are in PLAYING now. */
|
||||||
GST_DEBUG_OBJECT (basesink, "possibly waiting for clock to reach %"
|
GST_DEBUG_OBJECT (basesink, "possibly waiting for clock to reach %"
|
||||||
GST_TIME_FORMAT ", adjusted %" GST_TIME_FORMAT,
|
GST_TIME_FORMAT ", adjusted %" GST_TIME_FORMAT,
|
||||||
|
|
|
@ -629,7 +629,7 @@ gst_fd_src_uri_set_uri (GstURIHandler * handler, const gchar * uri,
|
||||||
gchar *protocol, *q;
|
gchar *protocol, *q;
|
||||||
GstFdSrc *src = GST_FD_SRC (handler);
|
GstFdSrc *src = GST_FD_SRC (handler);
|
||||||
gint fd;
|
gint fd;
|
||||||
guint64 size = -1;
|
guint64 size = (guint64) - 1;
|
||||||
|
|
||||||
GST_INFO_OBJECT (src, "checking uri %s", uri);
|
GST_INFO_OBJECT (src, "checking uri %s", uri);
|
||||||
|
|
||||||
|
|
|
@ -523,7 +523,7 @@ gst_input_selector_wait_running_time (GstInputSelector * sel,
|
||||||
GstPad *active_sinkpad;
|
GstPad *active_sinkpad;
|
||||||
GstSelectorPad *active_selpad;
|
GstSelectorPad *active_selpad;
|
||||||
GstSegment *seg, *active_seg;
|
GstSegment *seg, *active_seg;
|
||||||
GstClockTime running_time, active_running_time = -1;
|
GstClockTime running_time, active_running_time = GST_CLOCK_TIME_NONE;
|
||||||
|
|
||||||
seg = &pad->segment;
|
seg = &pad->segment;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue