gst/base/gstbasesink.c: Some more debug.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_get_position):
Some more debug.

* gst/gstbin.c: (message_check), (bin_replace_message),
(bin_remove_messages), (is_eos), (gst_bin_add_func),
(update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
(bin_query_duration_init), (bin_query_duration_fold),
(bin_query_duration_done), (bin_query_generic_fold),
(gst_bin_query):
* tools/gst-launch.c: (main):
Remove old option.
This commit is contained in:
Wim Taymans 2005-10-27 08:55:44 +00:00
parent 349aa7e2e6
commit 7f22710f65
5 changed files with 25 additions and 8 deletions

View file

@ -1,3 +1,18 @@
2005-10-27 Wim Taymans <wim@fluendo.com>
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_get_position):
Some more debug.
* gst/gstbin.c: (message_check), (bin_replace_message),
(bin_remove_messages), (is_eos), (gst_bin_add_func),
(update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
(bin_query_duration_init), (bin_query_duration_fold),
(bin_query_duration_done), (bin_query_generic_fold),
(gst_bin_query):
* tools/gst-launch.c: (main):
Remove old option.
2005-10-26 Stefan Kost <ensonic@users.sf.net>
* examples/controller/audio-example.c: (main):

View file

@ -689,11 +689,14 @@ gst_base_sink_handle_object (GstBaseSink * basesink, GstPad * pad,
if (GST_IS_BUFFER (obj)) {
GstBaseSinkClass *bclass;
GstFlowReturn pres;
GstBuffer *buf = GST_BUFFER (obj);
GST_DEBUG_OBJECT (basesink, "preroll buffer %" GST_TIME_FORMAT,
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf)));
bclass = GST_BASE_SINK_GET_CLASS (basesink);
if (bclass->preroll)
if ((pres =
bclass->preroll (basesink, GST_BUFFER (obj))) != GST_FLOW_OK)
if ((pres = bclass->preroll (basesink, buf)) != GST_FLOW_OK)
goto preroll_failed;
}
}

View file

@ -1993,7 +1993,6 @@ gst_bin_query (GstElement * element, GstQuery * query)
duration);
GST_UNLOCK (bin);
gst_query_set_duration (query, qformat, duration);
res = TRUE;
goto exit;

View file

@ -689,11 +689,14 @@ gst_base_sink_handle_object (GstBaseSink * basesink, GstPad * pad,
if (GST_IS_BUFFER (obj)) {
GstBaseSinkClass *bclass;
GstFlowReturn pres;
GstBuffer *buf = GST_BUFFER (obj);
GST_DEBUG_OBJECT (basesink, "preroll buffer %" GST_TIME_FORMAT,
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf)));
bclass = GST_BASE_SINK_GET_CLASS (basesink);
if (bclass->preroll)
if ((pres =
bclass->preroll (basesink, GST_BUFFER (obj))) != GST_FLOW_OK)
if ((pres = bclass->preroll (basesink, buf)) != GST_FLOW_OK)
goto preroll_failed;
}
}

View file

@ -59,7 +59,6 @@ static void sigint_restore (void);
static gboolean caught_intr = FALSE;
#endif
static gint max_iterations = 0;
static GstElement *pipeline;
static gboolean caught_error = FALSE;
static gboolean tags = FALSE;
@ -507,8 +506,6 @@ main (int argc, char *argv[])
N_("Do not install a fault handler"), NULL},
{"trace", 'T', 0, G_OPTION_ARG_NONE, &trace,
N_("Print alloc trace (if enabled at compile time)"), NULL},
{"iterations", 'i', 0, G_OPTION_ARG_INT, &max_iterations,
N_("Number of times to iterate pipeline"), NULL},
{NULL}
};
GOptionContext *ctx;