gst/gstpad.c (gst_pad_set_blocked_async): More debug. libs/gst/base/gstbasetransform.c

Original commit message from CVS:
2006-04-05  Andy Wingo  <wingo@pobox.com>

* gst/gstpad.c (gst_pad_set_blocked_async): More debug.

* libs/gst/base/gstbasetransform.c
(gst_base_transform_sink_eventfunc): When resetting our segment on
FLUSH_STOP, also update the flag saying we haven't seen a
newsegment.
This commit is contained in:
Andy Wingo 2006-04-05 10:26:29 +00:00
parent 0f2b215959
commit 75b96e0efd
5 changed files with 14 additions and 3 deletions

View file

@ -1,3 +1,12 @@
2006-04-05 Andy Wingo <wingo@pobox.com>
* gst/gstpad.c (gst_pad_set_blocked_async): More debug.
* libs/gst/base/gstbasetransform.c
(gst_base_transform_sink_eventfunc): When resetting our segment on
FLUSH_STOP, also update the flag saying we haven't seen a
newsegment.
2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
Patch by: Paolo Borelli <pborelli at katamail dot com>

2
common

@ -1 +1 @@
Subproject commit 6f7101e2227975fa8a134358362dd4b55e326b4c
Subproject commit cbedff4d5f090d43fdeaa189748a6651f2c6a07f

View file

@ -939,7 +939,8 @@ gst_pad_set_blocked_async (GstPad * pad, gboolean blocked,
had_right_state:
{
GST_CAT_LOG_OBJECT (GST_CAT_SCHEDULING, pad,
"pad %s:%s was in right state", GST_DEBUG_PAD_NAME (pad));
"pad %s:%s was in right state (%d)", GST_DEBUG_PAD_NAME (pad),
was_blocked);
GST_OBJECT_UNLOCK (pad);
if (was_ghost) {

View file

@ -1150,6 +1150,7 @@ gst_base_transform_sink_eventfunc (GstBaseTransform * trans, GstEvent * event)
trans->priv->earliest_time = -1;
GST_OBJECT_UNLOCK (trans);
/* we need new segment info after the flush. */
trans->have_newsegment = FALSE;
gst_segment_init (&trans->segment, GST_FORMAT_UNDEFINED);
break;
case GST_EVENT_EOS:

View file

@ -169,7 +169,7 @@
#define HAVE_WIN32 1
/* Define host CPU */
#define HOST_CPU "i686"
#define HOST_CPU "x86_64"
/* library dir */
#ifdef _DEBUG