diff --git a/ChangeLog b/ChangeLog index 688abc1ed6..9e2fa5143b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-07-07 Wim Taymans + + * gst/base/gstbasesrc.c: (gst_base_src_get_range), + (gst_base_src_default_negotiate), (gst_base_src_negotiate): + Allow subclasses to implement their own negotiation. + 2005-07-07 Jan Schmidt * docs/design/part-gstbin.txt: diff --git a/gst/base/gstbasesrc.c b/gst/base/gstbasesrc.c index 9ebb8dbf69..4d8358f27b 100644 --- a/gst/base/gstbasesrc.c +++ b/gst/base/gstbasesrc.c @@ -531,6 +531,8 @@ gst_base_src_get_range (GstPad * pad, guint64 offset, guint length, GST_LIVE_LOCK (src); if (src->is_live) { while (!src->live_running) { + GST_DEBUG ("live source signal waiting"); + GST_LIVE_SIGNAL (src); GST_DEBUG ("live source waiting for running state"); GST_LIVE_WAIT (src); GST_DEBUG ("live source unlocked"); @@ -759,7 +761,7 @@ static gboolean gst_base_src_negotiate (GstBaseSrc * basesrc) { GstBaseSrcClass *bclass; - gboolean result = FALSE; + gboolean result = TRUE; bclass = GST_BASE_SRC_GET_CLASS (basesrc); diff --git a/libs/gst/base/gstbasesrc.c b/libs/gst/base/gstbasesrc.c index 9ebb8dbf69..4d8358f27b 100644 --- a/libs/gst/base/gstbasesrc.c +++ b/libs/gst/base/gstbasesrc.c @@ -531,6 +531,8 @@ gst_base_src_get_range (GstPad * pad, guint64 offset, guint length, GST_LIVE_LOCK (src); if (src->is_live) { while (!src->live_running) { + GST_DEBUG ("live source signal waiting"); + GST_LIVE_SIGNAL (src); GST_DEBUG ("live source waiting for running state"); GST_LIVE_WAIT (src); GST_DEBUG ("live source unlocked"); @@ -759,7 +761,7 @@ static gboolean gst_base_src_negotiate (GstBaseSrc * basesrc) { GstBaseSrcClass *bclass; - gboolean result = FALSE; + gboolean result = TRUE; bclass = GST_BASE_SRC_GET_CLASS (basesrc);