Merge branch 'master' into 0.11

Conflicts:
	gst/gstobject.c
This commit is contained in:
Wim Taymans 2011-08-24 10:43:09 +02:00
commit 6f295dc239
2 changed files with 4 additions and 0 deletions

View file

@ -84,6 +84,7 @@
*/
#include "gst_private.h"
#include "glib-compat-private.h"
#include "gstobject.h"
#include "gstmarshal.h"

View file

@ -3281,6 +3281,9 @@ gst_base_sink_flush_start (GstBaseSink * basesink, GstPad * pad)
if (basesink->priv->async_enabled) {
gst_element_lost_state (GST_ELEMENT_CAST (basesink));
} else {
/* start time reset in above case as well;
* arranges for a.o. proper position reporting when flushing in PAUSED */
gst_element_set_start_time (GST_ELEMENT_CAST (basesink), 0);
basesink->priv->have_latency = TRUE;
}
gst_base_sink_set_last_buffer (basesink, NULL);